[email protected]
i try to run : npx dalai alpaca install 7B
But when i execute the command it return this :
Need to install the following packages:
[email protected]
Ok to proceed? (y) y
I accept, it load some stuff and nothing happen, i've tried with sudo as well but nothing seems working anyone get the same ?
I'm getting the same error. Using Windows 10, confirmed to have Python and Node.js installed.
Full log after I tried installing and running using cmd:
E:\ProgramsE\Dalai>npx dalai alpaca install 7B
Need to install the following packages:
[email protected]
Ok to proceed? (y) y
E:\ProgramsE\Dalai>npx dalai serve
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\\abah\\AppData\\Local\\npm-cache\\_npx\\3c737cbb02d79cc9\\node_modules\\axios',
npm WARN cleanup [Error: EPERM: operation not permitted, rmdir 'C:\Users\abah\AppData\Local\npm-cache\_npx\3c737cbb02d79cc9\node_modules\axios'] {
npm WARN cleanup errno: -4048,
npm WARN cleanup code: 'EPERM',
npm WARN cleanup syscall: 'rmdir',
npm WARN cleanup path: 'C:\\Users\\abah\\AppData\\Local\\npm-cache\\_npx\\3c737cbb02d79cc9\\node_modules\\axios'
npm WARN cleanup }
npm WARN cleanup ]
npm WARN cleanup ]
E:\ProgramsE\Dalai>
For Windows, you need Microsoft Visual Studio as per the docs. Grab community edition if that suits your use case. The OP, you'll need to provide way more than that to get help I expect :D
I was having this same issue on m1 mbpro. There is a troubleshoot section in the readme. I did the following steps and then was able to install properly.
brew install cmake
brew install pkg-config
npm install -g npm@latest
After this, I was able to install the models and run serve without any issues.
Hey, I am using Windows and in my case I just went to windows store and downloaded python from there, after that everything worked
npm cache clean
@matt-psaltis Thanks! I had Visual Studio Community 2019 installed, but I had to install the 2022 version for it to work. Much appreciated :)
Hey, I am using Windows and in my case I just went to windows store and downloaded python from there, after that everything worked
what version of python though? i have 3.11 and 3.10 already installed
Had the same problem with Win 11 and MS Visual Studio 2022 Community Edition and node.js manually installed. Was solved after manually installing python 3.11 from the MS Store. Hope this helps you.
I had the same problem when running npx dalai alpaca install 7B in codespaces on my ipad pro M1 and my node version is v19.7.0 and my python version is 3.10.64
Hope someone could help. Already tried the troubleshoot mentioned in the readme.
Hi, similar result for me, have you addressed that?
@wuwangzhang1216 @Pppapaya
did you try:
brew install cmake
brew install pkg-config
npm install -g npm@latest
and then retry installing and serving?
@wuwangzhang1216 @Pppapaya
did you try:
brew install cmake brew install pkg-config npm install -g npm@latestand then retry installing and serving?
Thanks for the advice, already tried but it didn't work.
hi thank you for replying me, I’m under win 11 pro, does it still work for win?
Get Outlook for iOShttps://aka.ms/o0ukef
From: Roy Ashbrook @.> Sent: Friday, March 31, 2023 8:13:57 PM To: cocktailpeanut/dalai @.> Cc: Pppapaya @.>; Comment @.> Subject: Re: [cocktailpeanut/dalai] @.*** (Issue #258)
I had the same problem when running npx dalai alpaca install 7B in codespaces on my ipad pro M1 and my node version is v19.7.0 and my python version is 3.10.64 [image] https://user-images.githubusercontent.com/60851473/228381627-60fa8c32-312d-44ae-8919-c523180062b5.png Hope someone could help. Already tried the troubleshoot mentioned in the readme.
did you try:
brew install cmake brew install pkg-config npm install -g @.***
and then retry installing and serving?
— Reply to this email directly, view it on GitHubhttps://github.com/cocktailpeanut/dalai/issues/258#issuecomment-1492749833, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A63OT7TU6VGSLWWGNCIA4PTW65XMLANCNFSM6AAAAAAWGS6LNA. You are receiving this because you commented.Message ID: @.***>
hi thank you for replying me, I’m under win 11 pro, does it still work for win?
Get Outlook for iOShttps://aka.ms/o0ukef
From: SteveWu @.> Sent: Friday, March 31, 2023 10:39:18 PM To: cocktailpeanut/dalai @.> Cc: Pppapaya @.>; Mention @.> Subject: Re: [cocktailpeanut/dalai] @.*** (Issue #258)
@wuwangzhang1216https://github.com/wuwangzhang1216 @Pppapayahttps://github.com/Pppapaya
did you try:
brew install cmake brew install pkg-config npm install -g @.***
and then retry installing and serving?
Thanks for the advice, already tried but it didn't work.
— Reply to this email directly, view it on GitHubhttps://github.com/cocktailpeanut/dalai/issues/258#issuecomment-1492802160, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A63OT7USZT2AK4N3NDPOER3W66INNANCNFSM6AAAAAAWGS6LNA. You are receiving this because you were mentioned.Message ID: @.***>
hi thank you for replying me, I’m under win 11 pro, does it still work for win? Get Outlook for iOShttps://aka.ms/o0ukef … ________________________________ From: SteveWu @.> Sent: Friday, March 31, 2023 10:39:18 PM To: cocktailpeanut/dalai @.> Cc: Pppapaya @.>; Mention @.> Subject: Re: [cocktailpeanut/dalai] @.*** (Issue #258) @wuwangzhang1216https://github.com/wuwangzhang1216 @Pppapayahttps://github.com/Pppapaya did you try: brew install cmake brew install pkg-config npm install -g @.*** and then retry installing and serving? Thanks for the advice, already tried but it didn't work. — Reply to this email directly, view it on GitHub<#258 (comment)>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A63OT7USZT2AK4N3NDPOER3W66INNANCNFSM6AAAAAAWGS6LNA. You are receiving this because you were mentioned.Message ID: @.***>
Not quite sure, but I had it run well on my MacBook with an intel chip. Maybe it worth checking your python version. (https://github.com/cocktailpeanut/dalai#step-22-troubleshoot-optional)
ok thank you!I'll check that!
Get Outlook for iOShttps://aka.ms/o0ukef
From: SteveWu @.> Sent: Friday, March 31, 2023 10:48:28 PM To: cocktailpeanut/dalai @.> Cc: Pppapaya @.>; Mention @.> Subject: Re: [cocktailpeanut/dalai] @.*** (Issue #258)
hi thank you for replying me, I’m under win 11 pro, does it still work for win? Get Outlook for iOShttps://aka.ms/o0ukef … ________________________________ From: SteveWu @.> Sent: Friday, March 31, 2023 10:39:18 PM To: cocktailpeanut/dalai @.> Cc: Pppapaya @.>; Mention @.> Subject: Re: [cocktailpeanut/dalai] @.*** (Issue #258https://github.com/cocktailpeanut/dalai/issues/258) @wuwangzhang1216https://github.com/wuwangzhang1216https://github.com/wuwangzhang1216 @Pppapayahttps://github.com/Pppapayahttps://github.com/Pppapaya did you try: brew install cmake brew install pkg-config npm install -g @.*** and then retry installing and serving? Thanks for the advice, already tried but it didn't work. — Reply to this email directly, view it on GitHub<#258 (comment)https://github.com/cocktailpeanut/dalai/issues/258#issuecomment-1492802160>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A63OT7USZT2AK4N3NDPOER3W66INNANCNFSM6AAAAAAWGS6LNA. You are receiving this because you were mentioned.Message ID: @.***>
Not quite sure, but I had it run well on my MacBook with an intel chip. Maybe it worth checking your python version. (https://github.com/cocktailpeanut/dalai#step-22-troubleshoot-optional)
— Reply to this email directly, view it on GitHubhttps://github.com/cocktailpeanut/dalai/issues/258#issuecomment-1492804708, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A63OT7R3SLVWRGUISJ2AGSTW66JPZANCNFSM6AAAAAAWGS6LNA. You are receiving this because you were mentioned.Message ID: @.***>