-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Step 2 of install procedure fails #392
Comments
I'm having the same problem - any ideas for a solution yet? |
Hi @SanJoseCosta and @anneadb, The issue you're encountering during the installation process seems to be related to the installation of the 'numpy' package, which TensorFlow relies on. The error log indicates difficulties in building the 'numpy' wheel due to missing dependencies. Here are a few troubleshooting steps you might try to resolve this: Ensure Dependencies: Confirm that all necessary dependencies for building 'numpy' are installed on your system. This may include development tools, headers, and libraries that 'numpy' requires. Virtual Environment: Consider creating a virtual environment and installing TensorFlow within that environment. Sometimes, conflicting package versions or system configurations can cause installation issues. Check Python Version: Ensure you're using a Python version supported by TensorFlow and compatible with the 'numpy' version you're trying to install. System Updates: Run system updates and ensure your system packages are up-to-date. Sometimes, outdated system packages can lead to installation problems. Alternative Installation: Try installing TensorFlow using a different installation method or source (e.g., from pre-built binaries if you're building from source or vice versa). If the issue persists, it might be beneficial to provide more details about your environment, such as your operating system, Python version, and any specific configurations you've set up. This additional information could help the community identify potential solutions more accurately. Feel free to share more details here, and we'll do our best to assist you further. Best regards, |
Hey I would like to work on this issue. Can you assign me |
Collecting tensorflow-metadata
Downloading tensorflow_metadata-1.2.0-py3-none-any.whl (48 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.5/48.5 kB 8.5 MB/s eta 0:00:00
Collecting pyarrow<3,>=1
Downloading pyarrow-2.0.0.tar.gz (58.9 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.9/58.9 MB 18.8 MB/s eta 0:00:00
Installing build dependencies ... error
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> [3726 lines of output]
Ignoring numpy: markers 'python_version < "3.7"' don't match your environment
Collecting cython>=0.29
Downloading Cython-0.29.32-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl (2.0 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.0/2.0 MB 41.9 MB/s eta 0:00:00
Collecting numpy==1.16.0
Downloading numpy-1.16.0.zip (5.1 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.1/5.1 MB 9.3 MB/s eta 0:00:00
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Collecting setuptools
Using cached setuptools-65.4.1-py3-none-any.whl (1.2 MB)
Collecting setuptools_scm
Downloading setuptools_scm-7.0.5-py3-none-any.whl (42 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 42.9/42.9 kB 331.7 kB/s eta 0:00:00
Collecting wheel
Downloading wheel-0.37.1-py2.py3-none-any.whl (35 kB)
Collecting typing-extensions
Using cached
Collecting tomli>=1.0.0
Downloading tomli-2.0.1-py3-none-any.whl (12 kB)
Collecting packaging>=20.0
Using cached packaging-21.3-py3-none-any.whl (40 kB)
Collecting pyparsing!=3.0.5,>=2.0.2
Downloading pyparsing-3.0.9-py3-none-any.whl (98 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 98.3/98.3 kB 14.0 MB/s eta 0:00:00
Building wheels for collected packages: numpy
Building wheel for numpy (setup.py): started
Building wheel for numpy (setup.py): still running...
Building wheel for numpy (setup.py): still running...
Building wheel for numpy (setup.py): finished with status 'error'
error: subprocess-exited-with-error
...
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
The text was updated successfully, but these errors were encountered: