You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to uv pip install a project in GitBash and keep getting 403 from our internal PyPI. However, python -m pip install is working perfectly fine. I have configured pip.conf and uv.toml with equivalent settings. Is there anything I'm missing?
$ python -m uv pip install pip-install-test
Using Python 3.12.4 environment at: C:\Program Files\python
× No solution found when resolving dependencies:
╰─▶ Because pip-install-test was not found in the package registry and you require pip-install-test, we can conclude that your requirements are unsatisfiable.
hint: An index URL (https://internal.company.domain/repository/public-pypi/simple) could not be queried due to a lack of valid authentication credentials (403 Forbidden).
$ python -m pip install pip-install-test
Collecting pip-install-test
Downloading pip_install_test-0.5-py3-none-any.whl.metadata (979 bytes)
Downloading pip_install_test-0.5-py3-none-any.whl (1.7 kB)
Installing collected packages: pip-install-test
Successfully installed pip-install-test-0.5
[notice] A new release of pip is available: 24.1.2 -> 24.3.1
[notice] To update, run: python.exe -m pip install --upgrade pip
Can't say why your server would return a 403 then, I think you'll need to get more details. You can use --verbose or RUST_LOG=uv=trace to get more logs from uv and details about the failing request (see #9452).
I'm trying to
uv pip install
a project in GitBash and keep getting 403 from our internal PyPI. However,python -m pip install
is working perfectly fine. I have configuredpip.conf
anduv.toml
with equivalent settings. Is there anything I'm missing?$ python -m pip install pip-install-test Collecting pip-install-test Downloading pip_install_test-0.5-py3-none-any.whl.metadata (979 bytes) Downloading pip_install_test-0.5-py3-none-any.whl (1.7 kB) Installing collected packages: pip-install-test Successfully installed pip-install-test-0.5 [notice] A new release of pip is available: 24.1.2 -> 24.3.1 [notice] To update, run: python.exe -m pip install --upgrade pip
Environment
$ cat ~/pip.conf [global] index-url = https://internal.company.domain/repository/public-pypi/simple trusted-host = internal.company.domain
The text was updated successfully, but these errors were encountered: