-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Install of a wheel from URL with pipenv #480
Comments
try -e |
Here's what I get:
|
thank you |
we do not currently support this behavior |
this was just added in master! |
Wasn't easy, but it works! |
this is now released. |
Hello, using
Thanks! |
I wouldn't do -e with a wheel. |
|
I'm using this but sooner or later, running |
@remram44 2 questions:
As a sidenote, there is a reason why we distinguish between editable and non-editable installs. Non-editable URLs are not deeply resolved, which means |
The package I install from a URL is pytorch, from a binary wheel ( I'm not sure which setup.py it's trying to call btw, since the binary wheel doesn't have any. |
@remram44 if you install a package that has a dependency which is unsatisfied, it will try to get it from PyPI, For most ML packages they are then built from sdists which means calling This is not a pipenv problem, it's a packaging problem in general. If you try to install something that has a dependency you can't build, it's going to fail no matter which of the various pip-related installers you try. The simple fact is if your system requires prebuilt wheels, you will need to install those. |
The dependency is satisfied, installing the wheel with pip then the other thing works just fine. This is not an sdist but a wheel. I am using a wheel because it is the only way this is distributed (no sdist on http://pytorch.org/). I do believe there is a pipenv bug here, because I see a traceback, and it looks like pipenv tried to execute some setup.py that might not exist at all. |
@remram44 whatever bug you are encountering is not related to this issue. Please open another issue and include the traceback and all other relevant information. |
I am! 🙋🏼♂️ Running the install itself works with an HTTPS URL: the package and its dependencies are installed. But, the dependencies never show up in Is this related? |
@TotempaaltJ it is! We have some issues installing remote wheels. Question: when it lands in your pipfile, what does it say? |
Here's the relevant line in
See also: https://github.com/TotempaaltJ/minimal-pipenv-wheel-fail |
So how can we properly install Pytorch with pipenv? |
|
Hello, I am attempting to install PyTorch into an environment with
pipenv
.See: http://pytorch.org/
System:
Issue:
Question: Does
pipenv
support wheel installs given a URL?This alternative appears to work:
The text was updated successfully, but these errors were encountered: