alexrozanski / LlamaChat

Chat with your favourite LLaMA models in a native macOS app
https://llamachat.app
MIT License
1.43k stars 53 forks source link

installation environment problem #37

Open p5ydn0 opened 11 months ago

p5ydn0 commented 11 months ago

First of all, thank you so much for sharing. The interface and installation method of this project is impressive in its simplicity and power. I want to use it so much!

During my installation, I encountered the following problems:

When performing the second step "setting up environment", the following error occurred:

Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/Library/Python/3.7'
Consider using the `--user` option or check the permissions.

You are using pip version 19.0.3, however version 23.2.1 is available.
You should consider upgrading via the ‘pip install --upgrade pip’ command.
image

After some searching, I tried the following:

  1. I ran the python -u -m pip install numpy sentencepiece torch --user command, and it showed a successful installation (except for a WARNING: Error parsing requirements for yapf: [Errno 2] No such file or directory : '/Users/user/anaconda3/lib/python3.7/site-packages/yapf-0.29.0.dist-info/METADATA'").
  2. I checked that my pip version is "pip 23.2.1" through pip --version, but the pip version displayed in the above error message is "19.0.3", so I suspect it is the environment of LlamaChat Not as I expected.

What are the reasons and solutions for this situation? Thank you so much!

hyeonchang commented 11 months ago

@p5ydn0 you have to check your PATH.