LlamaChat icon indicating copy to clipboard operation
LlamaChat copied to clipboard

installation environment problem

Open p5ydn0 opened this issue 10 months ago • 1 comments

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!

p5ydn0 avatar Aug 14 '23 13:08 p5ydn0

@p5ydn0 you have to check your PATH.

hyeonchang avatar Aug 21 '23 11:08 hyeonchang