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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issues on MacOS 11.0 #47978
Comments
Also observed the same behaviour on 3.6.12. I'm going to stop different versions of Python now, because it's just making me sad |
I have the same issue |
Marking high-pri for user activity |
@MasterObvious this is a new M1 based machine by any chance? |
@malfet I'm experiencing this issue on a 2017 MacBook Pro (Intel Core i7), so I don't think this issue is related to the new M1. |
@ndahlquist can you share the exact command you are running and output you are seeing? Also, please run and share output of |
|
@ndahlquist, as you can see from the log, you are trying to download and install PyTorch for python3.9 runtime, which was not yet available at the time of 1.7 branch cut. We plan to add support for Python3.9 in the upcoming point release. |
Sorry my bad, forgot to switch back to Python 3.8. Updated results:
|
Getting the same error as @ndahlquist when running the bundled Python 3.8.2 located in /usr/bin/python3 with Mac OS Big Sur 11.0.1. Have seen somewhere that I should run When running
Edit: |
This remains a problem for me. I can not reproduce it on a Mac where 3.9 was not installed with |
I'm getting the same error, trying to install 1.6.0 (though 1.7.0 also doesn't work for me). I have Python 3.9.0 installed with asdf, but I'm trying to install within a 3.8.6 environment. I've also tried 3.7.9, with the same result. > which python
/Users/hugh/Library/Caches/pypoetry/virtualenvs/coach-notes-summarization-kqdvKdJ0-py3.8/bin/python
> python --version
Python 3.8.6
> python -m pip install torch==1.6.0
ERROR: Could not find a version that satisfies the requirement torch==1.6.0 (from versions: 0.1.2, 0.1.2.post1, 0.1.2.post2)
ERROR: No matching distribution found for torch==1.6.0 |
Up! pip always try to install an older version of torch, but in any case I am not able to install it. (I am on macbook pro 2017, Intel version of course) |
I have a temporary solution:
|
Another temporary solution:
|
I ran a test, a friend's 2016 macbook who upgraded from Catalina to Big Sur via the beta and is now on the stable version without performing a clean install of the operating system via the usb. He is able to install torch and the same goes for other packages. |
I found this other similar issue with another package. It would seem this is related to Mac OS version numbering (see here) and the latest pip versions not dealing with that properly. A workaround is to execute Quoting the article above:
|
the fix did not work for me 馃槥 I still get the |
This sounds like a problem with PIP, which thinks wheels for 10_9 are not compatible with Big Sur (which is 11_0) |
Please note, that the issue can be worked around by either renaming the .whl file or upgrading the pip. Before update:
Updating:
After update:
|
https://download.pytorch.org/whl/torch_stable.html has been updated to include copy of 10.9 packages marked as 11.0 compatible. |
I am still unable to install torch. Python 3.9.2 Command pip install torch
pip install torch==1.8.0
|
@Joozty can you try installing using PyTorch nightly channel, i.e. |
@malfet Unfortunately I can see the same error, i.e. |
@Joozty can you share output of Small update: we are not publishing MacOS 11.0 arm64 wheels for Python 3.9 at the moment, investigating why |
Sure here it is:
Installation log is quite big so attaching it in file: |
Is there any ETA for a fix? 馃檪 |
Same Issue. Environment
|
Hello, did you resolve the issue? |
The original issues about
PyTorch 1.10.0 has
So this was fixed, and should now work even with older Furthermore there was an issue in this thread related to There are a host of issues combined in this thread, and all should be fixed by now. If anyone still sees an issue on macOS 11.0, please open a new issue (feel free to Cc me). |
馃悰 Bug
I cannot install Pytorch on MacOS 11 Big Sur. Pip continues to try and install version 0.1.2 and when trying to install a wheel from https://download.pytorch.org/whl/torch_stable.html it says
ERROR: torch-1.7.0-cp38-none-macosx_10_9_x86_64.whl is not a supported wheel on this platform.
To Reproduce
Steps to reproduce the behaviour:
pip3 install torch
or using a wheel available at https://download.pytorch.org/whl/torch_stable.htmlExpected behavior
I expect to install the latest version of PyTorch on my system
Environment
conda
,pip
, source): pipAdditional context
I understand similar behaviour occurs when trying to install Pytorch with python 3.9. I have made sure that I am using 3.8.6. I have also tested with 3.7.9 and get the same behaviour
cc @ezyang @gchanan @zou3519 @bdhirsh @seemethere @malfet @walterddr
The text was updated successfully, but these errors were encountered: