chatgpt.nvim icon indicating copy to clipboard operation
chatgpt.nvim copied to clipboard

`pip3 install -r requirements.txt` fails

Open technicalpickles opened this issue 2 years ago • 6 comments

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.

technicalpickles avatar Dec 20 '22 02:12 technicalpickles

change requirements to

OpenAIAuth>=0.0.6

pannet1 avatar Dec 28 '22 20:12 pannet1

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

technicalpickles avatar Jan 10 '23 02:01 technicalpickles

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

leeguooooo avatar Jan 12 '23 10:01 leeguooooo

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

technicalpickles avatar Jan 16 '23 15:01 technicalpickles

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

ArtBIT avatar Jan 18 '23 10:01 ArtBIT

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)

delucca avatar Feb 07 '23 21:02 delucca