Closed dlee992 closed 1 year ago
I found a related issues in https://github.com/apple/tensorflow_macos/issues/46, since pip couldn't figure out the correct macosx version.
I think you are running into the macOS system version compatibility issue. If your version of Python was built with the pre-macOS 11 SDK (as basically all Python 3.8 builds were), then macOS will pretend to be macOS 10.16, and thus pip will refuse to install macOS 12 wheels. You can workaround this issue by setting an environment variable while running pip:
SYSTEM_VERSION_COMPAT=0 python -m pip install ...
(This is also what Apple tells people to do on their TensorFlow plugin page: https://developer.apple.com/metal/tensorflow-plugin/)
I guess you're right, I will try it again.
I should also note, that this repo is somewhat unmaintained so the advice "here be dragons" may apply here too 🐉
I didn't follow this up after previous discussion, I think I should just close this.
Hi, guys, I have a problem when using this repo on my mac (x86_64)
First, I create a conda env as readme said:
Then I modified the
asv.conf.json
with specifying"branches": ["release0.55"],
and"pythons": ["3.8"],
. Finally, I ran:My local clang (in
/Library/Developer/CommandLineTools/usr/bin
) version is13.1.6
, but I think in conda env, my local clang shouldn't be used by these packages in the env. Allpython 3.8.13
installled by conda env and asv created conda env are both built withclang 12.0.0
.I also found using
conda install
, I can only installnumba=0.55.1
, rather thannumba=0.55.2
. And if I usepip install
, the installed numba package isnumba-0.55.2-cp38-cp38-macosx_10_14_x86_64.whl
, which ismacosx_10_14
, rather thanmacosx_12_0
I tried a few hours in this problem, but I didn't solve it right now. Any idea?