-
Notifications
You must be signed in to change notification settings - Fork 310
ERROR: numpy-1.18.5-cp38-cp38-macosx_11_0_x86_64.whl is not a supported wheel on this platform. #46
Comments
I also just started seeing this issue but I'm not sure how to fix it. |
The problem seems to be that all the bundled wheel files are called macos_11_0, but pip thinks big sur is macOS_10_9. I renamed all the bundled wheel files to macos_10_9 and then it worked. |
@kharteveld how did you the renaming? I would like to try it |
Alright, I found it.
Those steps worked for me. :-D |
I don't think you have to rename it; the trick is just to use -t hack. So you can do like
(modified from apple's install_venv.sh script) |
Note that pip 20.3 was released yesterday and may have fixed some of these issues: |
It does not solve the problem |
@soerenbrockmann did your solution work for the new MacBook Pro M1? |
I have tried, but it seems doesn't work for m1 |
I tried the same in a brand new M1 using python 3.8. I tried installing both architecture types and I get the "is not a supported wheel on this platform" for both (for numpy), which stops the installer. |
@monikavila I am working on a MacBookPro16 8-Core Intel Core i9 :-) I haven't tested it on M1. You can find the files here: https://github.com/apple/tensorflow_macos/releases However, I am facing lot's of Python dependency issue recently too. Not sure what's going on :-D |
Thanks a lot! |
I tried to update to Rosetta 2 and do the whole installation again but it does not work. I also tried to change to macosx_10_16 and I get ERROR: numpy-1.18.5-cp38-cp38-macosx_10_16_arm64.whl is not a supported wheel on this platform. I will contact apple support. If you contact apple support also, it would be good and please let me know. |
Please do update us on how Apple responds to this. I have a feeling they will say it's not their problem and we should contact Google instead. |
So this worked for me: #53 (comment) . |
This (kind of) worked for me:
Checked Python version in Terminal (“python —version): Python 2.7.16 (which I’m guessing is the one that comes embedded in Big Sur.
Except now I can’t seem to import anything else! I’m getting pages and pages of errors trying to pip install pandas and matplotlib... |
it's work.good job! |
Just use |
Is there any official update on that. Issue still exist and this ticket is now open for more than 1 month. |
@SaschaHeyer @monikavila @icenando @soerenbrockmann First, get out of the anaconda env , and after you download the miniforge create the Virtual Environment under Miniforge . Once you create Env in Miniforge this will come . So Don't Close this terminal yet. open a new terminal Download Additional file Downloading the Tensorflow : Download tensorflow from releases , Once you download and unzip it open the file and drag - drop install_venv into terminal under the env also add -p in the end. it will ask for the location . provide the same location as the env. There You go . Tensorflow is working for me perfectly on m1 even in jupyter notebook too |
The solution by @Aizen741 works! It also works for Jupyter Notebook by creating a new kernel using the virtual environment under Miniforge. |
I was trying to install tensorflow macos by running the script according to the instructions:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/apple/tensorflow_macos/master/scripts/download_and_install.sh)"
However, I got an error as shown below:
Any idea how to fix it?
The text was updated successfully, but these errors were encountered: