GithubHelp home page GithubHelp logo

Comments (11)

sky10p avatar sky10p commented on May 18, 2024 5

I have tried again the command, and it doesn't do anything:

$ npx dalai llama
Need to install the following packages:
  [email protected]
Ok to proceed? (y)

I type the y and enter, but it does not happen anything

from dalai.

CapsulE07 avatar CapsulE07 commented on May 18, 2024 1

I met the same issue as you, and also cant run the project.

from dalai.

JustAHippo avatar JustAHippo commented on May 18, 2024

doesn't look like this supports Windows yet! So far, I downloaded the model, have it converted and quantized and can interact with it via the llama cpp but this tool doesn't appear to work with Windows nicely

from dalai.

sky10p avatar sky10p commented on May 18, 2024

Alright, I'll keep that in mind. Is it only compatible with Mac, or would it work with Linux too?

from dalai.

chuSS avatar chuSS commented on May 18, 2024

i have another error. Windows 11 22H2

C:\proj\dalai>npx dalai llama
exec: git clone https://github.com/ggerganov/llama.cpp.git C:\Users\chuss\llama.cpp in undefined
C:\proj\dalai\node_modules\node-pty\lib\windowsPtyAgent.js:75
            term = this._ptyNative.startProcess(file, cols, rows, debug, this._generatePipeName(), conptyInheritCursor);
                                   ^

Error: File not found:
    at new WindowsPtyAgent (C:\proj\dalai\node_modules\node-pty\lib\windowsPtyAgent.js:75:36)
    at new WindowsTerminal (C:\proj\dalai\node_modules\node-pty\lib\windowsTerminal.js:50:24)
    at Object.spawn (C:\proj\dalai\node_modules\node-pty\lib\index.js:28:12)
    at C:\proj\dalai\index.js:267:30
    at new Promise (<anonymous>)
    at Dalai.exec (C:\proj\dalai\index.js:261:12)
    at Dalai.install (C:\proj\dalai\index.js:120:30)
    at Object.<anonymous> (C:\proj\dalai\bin\cli.js:37:17)
    at Module._compile (node:internal/modules/cjs/loader:1254:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)

Node.js v18.14.1

folder C:\Users\chuss\llama.cpp empty

from dalai.

espio999 avatar espio999 commented on May 18, 2024

Did you perform with admin privileges?

-->"[Error: EPERM: operation not permitted,"

This message suggests to use "run as administrator", I think.
Run a terminal with "run as administrator" and try again.

from dalai.

sky10p avatar sky10p commented on May 18, 2024

Did you perform with admin privileges?

-->"[Error: EPERM: operation not permitted,"

This message suggests to use "run as administrator", I think. Run a terminal with "run as administrator" and try again.

Yes, I did it, but I didn't work, I didn't receive any logs of the command.

from dalai.

rearming avatar rearming commented on May 18, 2024

FIXED: I'm actually not a js user and just forgot to npm install 🫑
maybe some of the folks don't understand that either

I have Mac and no effect either.
Screenshot 2023-03-20 at 20 04 54

from dalai.

bostankhan6 avatar bostankhan6 commented on May 18, 2024

Did anyone find a solution to this problem? Mine is occurring on windows 10

from dalai.

scsp85 avatar scsp85 commented on May 18, 2024

I had figured it out eventually and your mileage may vary. For windows 11 here are some things I did differently.

(Assuming you following all the instructions)

  1. Install the Windows SDK
  2. Run NPM instead of NPX for the first installation command.
  3. Using the Microsoft Store install Python 3.10, and make sure the command β€œpython3” is in Path. (It did this for me)

I did a few other things as I tried to figure it out, but I think those three pieces are what fixed it for me.

from dalai.

larrybird1 avatar larrybird1 commented on May 18, 2024

same problem, can not install in windows 11

C:\Windows\System32>npx dalai llama install 7B
Need to install the following packages:
[email protected]
Ok to proceed? (y) y
npm WARN cleanup Failed to remove some directories [
npm WARN cleanup [
npm WARN cleanup 'C:\Users\Administrator\AppData\Local\npm-cache\_npx\3c737cbb02d79cc9\node_modules',
npm WARN cleanup [Error: EPERM: operation not permitted, rmdir 'C:\Users\Administrator\AppData\Local\npm-cache_npx\3c737cbb02d79cc9\node_modules\dalai'] {
npm WARN cleanup errno: -4048,
npm WARN cleanup code: 'EPERM',
npm WARN cleanup syscall: 'rmdir',
npm WARN cleanup path: 'C:\Users\Administrator\AppData\Local\npm-cache\_npx\3c737cbb02d79cc9\node_modules\dalai'
npm WARN cleanup }
npm WARN cleanup ]
npm WARN cleanup ]

from dalai.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.