-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Cannot install package published in private PyPI repository #1958
Comments
@sdispater Can you see anything in the way I've built and published my library? For the sake of completeness, I've also tried to install the dependency from a Python 3.6.5 environment and encountered the same exact issue. |
Hello @IamGianluca One difference I see is that I specify it in my [[tool.poetry.source]]
name = "foo"
url = "https://foo.bar/simple/" How does this behave in your case? |
What libraries does your private index have? I think the message you're getting is because Have you tried running something like this? This way, pip can also look into the public pypi for all other packages. If I'm right, another option would be to also upload your libary deps to your private repo... @romaingz would not have this issue because the the command poetry runs internally already does this: Command ['...pip', 'install', '--no-deps', '--index-url', 'https://pypi.prod.mypypi.us/simple', '--extra-index-url', 'https://pypi.org/', 'bidding==...' |
Thank you for your reply @pwoolvett ! As you pointed out, the issue was that my private repository did have a copy of the dependencies needed by my library. I had to make a minor change to the command you suggested, but now it works! $ pip install --index-url https://pypi.prod.mypypi.us/simple/ --extra-index-url https://pypi.org/simple bidding |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
-vvv
option).Issue
First of all, thank you for the great tool! 👏
I have an issue when trying to
pip install
a package I published in a private PyPI repository usingpoetry
.Below are the steps I've used to publish the library
To reproduce the issue, I created a new virtual environment through
pyenv
, activated it, and finally tried to install the library viapip
.I've tried this a bunch of times and the error message is the same, although the dependencies might change from time to time ― e.g., pandas, numpy, pystan.
The text was updated successfully, but these errors were encountered: