Skip to content
This repository has been archived by the owner on Jun 9, 2021. It is now read-only.

Installation fails with numpy error #121

Open
SaschaHeyer opened this issue Jan 5, 2021 · 2 comments
Open

Installation fails with numpy error #121

SaschaHeyer opened this issue Jan 5, 2021 · 2 comments

Comments

@SaschaHeyer
Copy link

Hello Apple TensorFlow Dev Team

following the official setup instructions the setup fails.

Steps to reproduce

  1. Download the release https://github.com/apple/tensorflow_macos/releases/tag/v0.1alpha1
  2. create virtual environment python3 -m venv .venv
  3. run install_venv.sh
  4. Select created virtual environment '.venv'
  5. confirm
  6. Script is starting installing and upgrading packages
  7. Script fails with error

ERROR

>> Installing bundled binary dependencies.
ERROR: numpy-1.18.5-cp38-cp38-macosx_11_0_x86_64.whl is not a supported wheel on this platform.

Known issue or any solutions?

This was referenced Jan 5, 2021
@hoytak
Copy link
Collaborator

hoytak commented Jan 21, 2021

Hello @SaschaHeyer, apologies about the delay in answering this. We've hit a lot of random issues getting this to install correctly. Unfortunately, it seems that versions of pip after 20.2.4 seem to have this issue, and in a new virtual environment the script should install that version. I suspect that in your case, the virtual environment contained a later version of pip that didn't get downgraded. Try running pip install --force pip==20.2.4 and then hopefully the script will work.

@mwidjaja1
Copy link

If you still have a problem, refer to this: #153 (comment)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants