-->(py4) (.venv) ➜ arm64 git:(main) ✗ pip install --upgrade --no-dependencies --force numpy-1.18.5-cp38-cp38-macosx_11_0_arm64.whl
ERROR: numpy-1.18.5-cp38-cp38-macosx_11_0_arm64.whl is not a supported wheel on this platform.
? I got here by following your wonderful Jan 2021 document on how to install opencv-4 on macOS. I am running an M1 Ultra, and am using invoke (was called invokeai). It wants opencv to be installed but complains that it does not compile. That's why I am here; Here is what I did so far:
-brew install miniforge
-conda create --name py4
(this said that the current version was 23.11.0 but there was a newer version 24.1.2
-conda update -n base -c conda-forge conda
-conda create --name py4
-conda activate py4
(complained that it needed to be initialized first)
-conda init zsh
(reopened shell to activate)
-wget https://github.com/apple/tensorflow_macos/releases/download/v0.1alpha0/tensorflow_macos-0.1alpha0.tar.gz
tar xvf tensorflow_macos-0.1alpha0.tar.gz
-cd tensorflow_macos/arm64
-pwd
/Users/MAC_at_home/invokeai/.venv/lib/python3.11/site-packages/patchmatch/tensorflow_macos/arm64
-pip install --upgrade --no-dependencies --force numpy-1.18.5-cp38-cp38-macosx_11_0_arm64.whl
ERROR: numpy-1.18.5-cp38-cp38-macosx_11_0_arm64.whl
Result: is not a supported wheel on this platform.
-->(py4) (.venv) ➜ arm64 git:(main) ✗ pip install --upgrade --no-dependencies --force numpy-1.18.5-cp38-cp38-macosx_11_0_arm64.whl ERROR: numpy-1.18.5-cp38-cp38-macosx_11_0_arm64.whl is not a supported wheel on this platform.
? I got here by following your wonderful Jan 2021 document on how to install opencv-4 on macOS. I am running an M1 Ultra, and am using invoke (was called invokeai). It wants opencv to be installed but complains that it does not compile. That's why I am here; Here is what I did so far: -brew install miniforge -conda create --name py4 (this said that the current version was 23.11.0 but there was a newer version 24.1.2 -conda update -n base -c conda-forge conda -conda create --name py4 -conda activate py4 (complained that it needed to be initialized first) -conda init zsh (reopened shell to activate) -wget https://github.com/apple/tensorflow_macos/releases/download/v0.1alpha0/tensorflow_macos-0.1alpha0.tar.gz tar xvf tensorflow_macos-0.1alpha0.tar.gz -cd tensorflow_macos/arm64 -pwd /Users/MAC_at_home/invokeai/.venv/lib/python3.11/site-packages/patchmatch/tensorflow_macos/arm64 -pip install --upgrade --no-dependencies --force numpy-1.18.5-cp38-cp38-macosx_11_0_arm64.whl ERROR: numpy-1.18.5-cp38-cp38-macosx_11_0_arm64.whl
Result: is not a supported wheel on this platform.