cocktailpeanut / dalai

The simplest way to run LLaMA on your local machine
https://cocktailpeanut.github.io/dalai
13.1k stars 1.42k forks source link

when im trying to install the Dalai i have this error #310

Open Elmoro212 opened 1 year ago

Elmoro212 commented 1 year ago

npm ERR! code 1 npm ERR! path /opt/homebrew/Cellar/node/19.8.1/lib/node_modules/dalai npm ERR! command failed npm ERR! command sh -c node setup npm ERR! mkdir /Users/chagafmohamedsaleh/dalai npm ERR! exec: pip3 install --user virtualenv in undefined npm ERR! pip3 install --user virtualenv npm ERR! exit npm ERR! npm ERR! The default interactive shell is now zsh. npm ERR! To update your account to use zsh, please run chsh -s /bin/zsh. npm ERR! For more details, please visit https://support.apple.com/kb/HT208050. npm ERR! bash-3.2$ pip3 install --user virtualenv npm ERR! ERROR: Can not perform a '--user' install. User site-packages are not visible in this virtualenv. npm ERR! bash-3.2$ exit npm ERR! exit npm ERR! exec: pip3 install virtualenv in undefined npm ERR! pip3 install virtualenv npm ERR! exit npm ERR! npm ERR! The default interactive shell is now zsh. npm ERR! To update your account to use zsh, please run chsh -s /bin/zsh. npm ERR! For more details, please visit https://support.apple.com/kb/HT208050. npm ERR! bash-3.2$ pip3 install virtualenv npm ERR! Requirement already satisfied: virtualenv in /Users/chagafmohamedsaleh/dalai/venv/lib/python3.7/site-packages (20.21.0) npm ERR! Requirement already satisfied: distlib<1,>=0.3.6 in /Users/chagafmohamedsaleh/dalai/venv/lib/python3.7/site-packages (from virtualenv) (0.3.6) npm ERR! Requirement already satisfied: importlib-metadata>=4.8.3 in /Users/chagafmohamedsaleh/dalai/venv/lib/python3.7/site-packages (from virtualenv) (6.1.0) npm ERR! Requirement already satisfied: platformdirs<4,>=2.4 in /Users/chagafmohamedsaleh/dalai/venv/lib/python3.7/site-packages (from virtualenv) (3.2.0) npm ERR! Requirement already satisfied: filelock<4,>=3.4.1 in /Users/chagafmohamedsaleh/dalai/venv/lib/python3.7/site-packages (from virtualenv) (3.10.7) npm ERR! Requirement already satisfied: typing-extensions>=3.6.4 in /Users/chagafmohamedsaleh/dalai/venv/lib/python3.7/site-packages (from importlib-metadata>=4.8.3->virtualenv) (4.5.0) npm ERR! Requirement already satisfied: zipp>=0.5 in /Users/chagafmohamedsaleh/dalai/venv/lib/python3.7/site-packages (from importlib-metadata>=4.8.3->virtualenv) (3.15.0) npm ERR! bash-3.2$ exit npm ERR! exit npm ERR! trying with python3 npm ERR! exec: python3 -m venv /Users/chagafmohamedsaleh/dalai/venv in undefined npm ERR! python3 -m venv /Users/chagafmohamedsaleh/dalai/venv npm ERR! exit npm ERR! npm ERR! The default interactive shell is now zsh. npm ERR! To update your account to use zsh, please run chsh -s /bin/zsh. npm ERR! For more details, please visit https://support.apple.com/kb/HT208050. npm ERR! bash-3.2$ python3 -m venv /Users/chagafmohamedsaleh/dalai/venv npm ERR! bash-3.2$ exit npm ERR! exit npm ERR! { code: true } npm ERR! trying with python npm ERR! exec: python -m venv /Users/chagafmohamedsaleh/dalai/venv in undefined npm ERR! python -m venv /Users/chagafmohamedsaleh/dalai/venv npm ERR! exit npm ERR! npm ERR! The default interactive shell is now zsh. npm ERR! To update your account to use zsh, please run chsh -s /bin/zsh. npm ERR! For more details, please visit https://support.apple.com/kb/HT208050. npm ERR! bash-3.2$ python -m venv /Users/chagafmohamedsaleh/dalai/venv npm ERR! bash-3.2$ exit npm ERR! exit npm ERR! { code: true } npm ERR! exec: /Users/chagafmohamedsaleh/dalai/venv/bin/pip install --upgrade pip setuptools wheel in undefined npm ERR! /Users/chagafmohamedsaleh/dalai/venv/bin/pip install --upgrade pip setuptools wheel npm ERR! exit npm ERR! npm ERR! The default interactive shell is now zsh. npm ERR! To update your account to use zsh, please run chsh -s /bin/zsh. npm ERR! For more details, please visit https://support.apple.com/kb/HT208050. npm ERR! bash-3.2$ /Users/chagafmohamedsaleh/dalai/venv/bin/pip install --upgrade pip setuptools wheel npm ERR! Requirement already satisfied: pip in /Users/chagafmohamedsaleh/dalai/venv/lib/python3.7/site-packages (23.0.1) npm ERR! Requirement already satisfied: setuptools in /Users/chagafmohamedsaleh/dalai/venv/lib/python3.7/site-packages (67.6.0) npm ERR! Requirement already satisfied: wheel in /Users/chagafmohamedsaleh/dalai/venv/lib/python3.7/site-packages (0.40.0) npm ERR! bash-3.2$ exit npm ERR! exit npm ERR! exec: /Users/chagafmohamedsaleh/dalai/venv/bin/pip install torch torchvision torchaudio sentencepiece numpy in undefined npm ERR! /Users/chagafmohamedsaleh/dalai/venv/bin/pip install torch torchvision torchaudio sentencepiece numpy npm ERR! exit npm ERR! npm ERR! The default interactive shell is now zsh. npm ERR! To update your account to use zsh, please run chsh -s /bin/zsh. npm ERR! For more details, please visit https://support.apple.com/kb/HT208050. npm ERR! bash-3.2$ /Users/chagafmohamedsaleh/dalai/venv/bin/pip install torch torchvision torchaudio sentencepiece numpy npm ERR! Collecting torch npm ERR! Using cached torch-1.13.1-cp37-none-macosx_11_0_arm64.whl (53.1 MB) npm ERR! ERROR: Could not find a version that satisfies the requirement torchvision (from versions: 0.1.6, 0.1.7, 0.1.8, 0.1.9, 0.2.0, 0.2.1, 0.2.2, 0.2.2.post2, 0.2.2.post3) npm ERR! ERROR: No matching distribution found for torchvision npm ERR! bash-3.2$ exit npm ERR! exit npm ERR! exec: /Users/chagafmohamedsaleh/dalai/venv/bin/pip install --user torch torchvision torchaudio sentencepiece numpy in undefined npm ERR! /Users/chagafmohamedsaleh/dalai/venv/bin/pip install --user torch torchvision torchaudio sentencepiece numpy npm ERR! exit npm ERR! npm ERR! The default interactive shell is now zsh. npm ERR! To update your account to use zsh, please run chsh -s /bin/zsh. npm ERR! For more details, please visit https://support.apple.com/kb/HT208050. npm ERR! bash-3.2$ /Users/chagafmohamedsaleh/dalai/venv/bin/pip install --user torch torchvision torchaudio sentencepiece numpy npm ERR! ERROR: Can not perform a '--user' install. User site-packages are not visible in this virtualenv. npm ERR! bash-3.2$ exit npm ERR! exit npm ERR! Error Error: dependency installation failed npm ERR! at Dalai.setup (/opt/homebrew/Cellar/node/19.8.1/lib/node_modules/dalai/index.js:510:15)

npm ERR! A complete log of this run can be found in: npm ERR! /Users/chagafmohamedsaleh/.npm/_logs/2023-03-27T22_53_48_861Z-debug-0.log

logosfabula commented 1 year ago

Same issue

jcobreros commented 1 year ago

Same issue