Pip --proxy does not work for package dependencies if -r requirements.txt file is passed #12986
Closed
1 task done
Labels
resolution: duplicate
Duplicate of an existing issue/PR
Description
Running pip install -r requirements.txt --proxy http://company_proxy:port does not work when multiple packages are listed and if any of the package itself has a dependency of another package.
I do see there is a similar issue open here - #9691 but I cannot confirm if the root cause is the same.
Expected behavior
Running pip install -r requirements.txt --proxy http://company_proxy:port should work for all packages in the requirements.txt file even if the package has a dependency on another one.
pip version
24.2
Python version
3.12.7
OS
Windows 11 26100
How to Reproduce
pip subprocess to install build dependencies did not run successfully.
Output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: