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

pytorch problem with pip install on Python3.7 or Python3.8 #66

Closed
ksaur opened this issue May 12, 2020 · 6 comments
Closed

pytorch problem with pip install on Python3.7 or Python3.8 #66

ksaur opened this issue May 12, 2020 · 6 comments
Assignees

Comments

@ksaur
Copy link
Collaborator

ksaur commented May 12, 2020

Doing pip install hummingbird-ml on Python3.7 or Python3.8 a user reported:

ERROR: Could not find a version that satisfies the requirement torch>=1.4.0 (from hummingbird-ml) (from versions: 0.1.2, 0.1.2.post1, 0.1.2.post2)
ERROR: No matching distribution found for torch>=1.4.0 (from hummingbird-ml)

Looks like pytorch on pypi is 1.0.2 and on the conda main channel it’s 1.3.1
Maybe linking to the installation page for pytorch would be useful.

@interesaaat
Copy link
Collaborator

interesaaat commented May 12, 2020

Are you able to replicate this? I think that one possible option could be to add the pytorch url to requirements.txt as they are doing here.

@ksaur ksaur self-assigned this May 26, 2020
@ksaur
Copy link
Collaborator Author

ksaur commented Jun 2, 2020

As of today, still pytorch on pypi is 1.0.2 but in conda main channel is now at least 1.4. I'll still pin this

@ksaur
Copy link
Collaborator Author

ksaur commented Jun 2, 2020

I'm having a surprisingly hard time reproducing this. But, i'm going to try:
pytorch/pytorch#29745 (comment)

@interesaaat
Copy link
Collaborator

interesaaat commented Jun 3, 2020

I think that this was for windows or WSL. In our CI pipeline with ubuntu all looks good.

For reference, look at my last commit here

@ksaur
Copy link
Collaborator Author

ksaur commented Jun 3, 2020

yah WSL problem. I just wanted to make sure we keep our SKL/non-pytorch friends' experience as user-friendly as possible on all platforms! :)

i think i'm going to add a link to this in Troubleshooting, and close this.

@ksaur
Copy link
Collaborator Author

ksaur commented Jun 3, 2020

Apparently; I already had added. Closing.

@ksaur ksaur closed this as completed Jun 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants