apple / tensorflow_macos

TensorFlow for macOS 11.0+ accelerated using Apple's ML Compute framework.
Other
3.67k stars 309 forks source link

NumPy error #89

Open loveenv opened 3 years ago

loveenv commented 3 years ago

"numpy-1.18.5-cp38-cp38-macosx_11_0_x86_64.whl is not a supported wheel on this platform" is the error code when installing latest release

loveenv commented 3 years ago

This is happening on M1 MacBook Pro

SaschaHeyer commented 3 years ago

Can confirm the same behavior https://github.com/apple/tensorflow_macos/issues/121

hoytak commented 3 years ago

Hello @loveenv, apologies for the delay in responding to this. It seems that version of pip after 20.2.4 will get this error when run through the script. The solution is to downgrade pip to version 20.2.4 using pip install --force pip==20.2.4 before running the installation script on an existing virtual environment.