terror / chatgpt.nvim

Query ChatGPT in Neovim
Creative Commons Zero v1.0 Universal
279 stars 15 forks source link

`pip3 install -r requirements.txt` fails #18

Open technicalpickles opened 1 year ago

technicalpickles commented 1 year ago
INFO: pip is looking at multiple versions of openaiauth to determine which version is compatible with other requirements. This could take a while.
ERROR: Cannot install -r requirements.txt (line 21) and OpenAIAuth==0.0.4 because these package versions have conflicting dependencies.

The conflict is caused by:
    The user requested OpenAIAuth==0.0.4
    revchatgpt 0.0.43.4 depends on OpenAIAuth>=0.0.6

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
WARNING: You are using pip version 22.0.4; however, version 22.3.1 is available.
You should consider upgrading via the '/Users/technicalpickles/.asdf/installs/python/3.10.5/bin/python3.10 -m pip install --upgrade pip' command.
pannet1 commented 1 year ago

change requirements to

OpenAIAuth>=0.0.6

technicalpickles commented 1 year ago

Looks like 0.0.6 was yanked too, and now the source is archived: https://github.com/acheong08/OpenAIAuth

leeguooooo commented 1 year ago

you can run pip3 install -r requirements.txt -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com

technicalpickles commented 1 year ago

I was able to install with that, thanks. Maybe can suggest that instead of just pip3 install -r requirements.txt?

ArtBIT commented 1 year ago

Looks like 0.0.6 was yanked too, and now the source is archived: https://github.com/acheong08/OpenAIAuth You can install it from github: pip3 install git+https://github.com/acheong08/OpenAIAuth.git@main

delucca commented 1 year ago

I'm not being able to run @leeguooooo command's. I get this error:

ollecting bs4==0.0.1
  Downloading http://pypi.doubanio.com/packages/10/ed/7e8b97591f6f456174139ec089c769f89a94a1a4025fe967691de971f314/bs4-0.0.1.tar.gz (1.1 kB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [1 lines of output]
      ERROR: Can not execute `setup.py` since setuptools is not available in the build environment.
      [end of output

(I've already tried to run pip install setuptools, my machine already has it installed)