All of my excitement of having M1 is gone..having hard time to install tensor flow
ERROR: Command errored out with exit status 1:
command: /Users/tensorflow-metal-test/bin/python /private/var/folders/8s/t8kzlftn5x5c2mw37dd7lbs00000gn/T/pip-standalone-pip-j863mk96/env_pip.zip/pip install --ignore-installed --no-user --prefix /private/var/folders/8s/t8kzlftn5x5c2mw37dd7lbs00000gn/T/pip-build-env-xlyfg9ik/normal --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'numpy==1.14.5; python_version == "3.7"' 'Cython>=0.29; python_version < "3.8"' 'numpy==1.19.3; python_version >= "3.9"' 'numpy==1.12; python_version == "3.6"' 'numpy==1.17.5; python_version == "3.8"' 'Cython>=0.29.14; python_version >= "3.8"' pkgconfig
cwd: None
Complete output (4475 lines):
Ignoring numpy: markers 'python_version == "3.7"' don't match your environment
Ignoring Cython: markers 'python_version < "3.8"' don't match your environment
Ignoring numpy: markers 'python_version >= "3.9"' don't match your environment
Ignoring numpy: markers 'python_version == "3.6"' don't match your environment
Collecting numpy==1.17.5
Using cached numpy-1.17.5.zip (6.4 MB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Collecting Cython>=0.29.14
Using cached Cython-0.29.24-py2.py3-none-any.whl (979 kB)
Collecting pkgconfig
Using cached pkgconfig-1.5.5-py3-none-any.whl (6.7 kB)
Using legacy 'setup.py install' for numpy, since package 'wheel' is not installed.
Installing collected packages: pkgconfig, numpy, Cython
Running setup.py install for numpy: started
Running setup.py install for numpy: finished with status 'error'
ERROR: Command errored out with exit status 1:
command: /Users/tensorflow-metal-test/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/8s/t8kzlftn5x5c2mw37dd7lbs00000gn/T/pip-install-jvvwjkem/numpy_084dfcc1797443919f4762bdae8cfe0e/setup.py'"'"'; file='"'"'/private/var/folders/8s/t8kzlftn5x5c2mw37dd7lbs00000gn/T/pip-install-jvvwjkem/numpy_084dfcc1797443919f4762bdae8cfe0e/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /private/var/folders/8s/t8kzlftn5x5c2mw37dd7lbs00000gn/T/pip-record-1k3_j4wg/install-record.txt --single-version-externally-managed --prefix /private/var/folders/8s/t8kzlftn5x5c2mw37dd7lbs00000gn/T/pip-build-env-xlyfg9ik/normal --compile --install-headers /private/var/folders/8s/t8kzlftn5x5c2mw37dd7lbs00000gn/T/pip-build-env-xlyfg9ik/normal/include/site/python3.8/numpy
cwd: /private/var/folders/8s/t8kzlftn5x5c2mw37dd7lbs00000gn/T/pip-install-jvvwjkem/numpy_084dfcc1797443919f4762bdae8cfe0e/
Complete output (4453 lines):
Running from numpy source directory.
Note: if you need reliable uninstall behavior, then install
with pip instead of using setup.py install:
- pip install . (from a git repo or downloaded source
release)
- pip install numpy (last NumPy release on PyPi)
error: Command "clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -iwithsysroot/System/Library/Frameworks/System.framework/PrivateHeaders -iwithsysroot/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/Headers -arch arm64 -arch x86_64 -Werror=implicit-function-declaration -DNPY_INTERNAL_BUILD=1 -DHAVE_NPY_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -DNO_ATLAS_INFO=3 -DHAVE_CBLAS -Ibuild/src.macosx-10.14-arm64-3.8/numpy/core/src/umath -Ibuild/src.macosx-10.14-arm64-3.8/numpy/core/src/npymath -Ibuild/src.macosx-10.14-arm64-3.8/numpy/core/src/common -Inumpy/core/include -Ibuild/src.macosx-10.14-arm64-3.8/numpy/core/include/numpy -Inumpy/core/src/common -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/Users/tensorflow-metal-test/include -I/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/include/python3.8 -Ibuild/src.macosx-10.14-arm64-3.8/numpy/core/src/common -Ibuild/src.macosx-10.14-arm64-3.8/numpy/core/src/npymath -Ibuild/src.macosx-10.14-arm64-3.8/numpy/core/src/common -Ibuild/src.macosx-10.14-arm64-3.8/numpy/core/src/npymath -c numpy/core/src/multiarray/alloc.c -o build/temp.macosx-10.14-arm64-3.8/numpy/core/src/multiarray/alloc.o -MMD -MF build/temp.macosx-10.14-arm64-3.8/numpy/core/src/multiarray/alloc.o.d -faltivec -I/System/Library/Frameworks/vecLib.framework/Headers" failed with exit status 1
----------------------------------------
ERROR: Command errored out with exit status 1: /Users/tensorflow-metal-test/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/8s/t8kzlftn5x5c2mw37dd7lbs00000gn/T/pip-install-jvvwjkem/numpy_084dfcc1797443919f4762bdae8cfe0e/setup.py'"'"'; file='"'"'/private/var/folders/8s/t8kzlftn5x5c2mw37dd7lbs00000gn/T/pip-install-jvvwjkem/numpy_084dfcc1797443919f4762bdae8cfe0e/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /private/var/folders/8s/t8kzlftn5x5c2mw37dd7lbs00000gn/T/pip-record-1k3_j4wg/install-record.txt --single-version-externally-managed --prefix /private/var/folders/8s/t8kzlftn5x5c2mw37dd7lbs00000gn/T/pip-build-env-xlyfg9ik/normal --compile --install-headers /private/var/folders/8s/t8kzlftn5x5c2mw37dd7lbs00000gn/T/pip-build-env-xlyfg9ik/normal/include/site/python3.8/numpy Check the logs for full command output.
Post
Replies
Boosts
Views
Activity
pip install tensorflow-macos , is failing with below error
ERROR: Cannot install tensorflow-macos==2.5.0 and tensorflow-macos==2.6.0 because these package versions have conflicting dependencies.