Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PIP cannot find files in server #13212

Open
1 task done
139167 opened this issue Feb 8, 2025 · 2 comments
Open
1 task done

PIP cannot find files in server #13212

139167 opened this issue Feb 8, 2025 · 2 comments
Labels
S: needs triage Issues/PRs that need to be triaged type: bug A confirmed bug or unintended behavior

Comments

@139167
Copy link

139167 commented Feb 8, 2025

Description

I am trying to install some packages of Ollama, to do some API engineering. I have just updated a new verison of PIP according to the advise from PIP, installing 25.0. Later, we I start installing Ollama (Existing in pypi.org), it tells me a warning of "WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', FileNotFoundError(2, 'No such file or directory'))': /simple/ollama/", and ultimately results in "ERROR: Could not find a version that satisfies the requirement ollama (from versions: none)
ERROR: No matching distribution found for ollama", I also test this version with PIP update, which also results in a similar error.

I tried to reinstall, the older version works perfectly, updating PIP without any problems. As soon as I reach version 25.0, it's not working. So, as a conclusion, I have a reasonable doubt of it is a problem of PIP instead of me? I'm not sure of whether it's right or not. Wish someone please help me.

Image

Image

Expected behavior

No response

pip version

25.0

Python version

3.8

OS

Windows 11 x86-64

How to Reproduce

  1. Update the PIP to lastest version (25.0) python -m pip install --upgrade pip
  2. Run pip install xxxxx[package name] - I run installation of ollama.
  3. Error Occurs

Output

Image

Code of Conduct

@139167 139167 added S: needs triage Issues/PRs that need to be triaged type: bug A confirmed bug or unintended behavior labels Feb 8, 2025
@notatallshaw
Copy link
Member

The error indicates that a proxy is specified somewhere in your system and that the proxy is not responding.

Can you run pip config list, does it output anything for 25.0? If so is it different than the last working version of pip? If it is you can run pip config list -v to see if it is looking at any different files.

@139167
Copy link
Author

139167 commented Feb 9, 2025

@notatallshaw Well, thanks for your responce.

I run the command of different versions (25.0 Not Working and 19.2.3 Working), the outputs are existing for both versions and the outputs are exactly the same.

Old Version:

Image

New Version:

Image

However, if you skim through the output, even it says ProxyError, but what comes later is FileNotFound, so, quite non-sence problem, lol.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S: needs triage Issues/PRs that need to be triaged type: bug A confirmed bug or unintended behavior
Projects
None yet
Development

No branches or pull requests

2 participants