Installation failure for scipy 1.7.0 on aarch64
See original GitHub issueInstallation of scikit-learn version 0.23.2 breaks on aarch64 architecture machine with the new release of scipy 1.7.0 when manually built from source.
sudo python3 -m pip install scikit-learn==0.23.2;
I get the following error:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/mnt/tmp/pip-build-50goywb6/scipy/setup.py", line 629, in <module>
setup_package()
File "/mnt/tmp/pip-build-50goywb6/scipy/setup.py", line 625, in setup_package
setup(**metadata)
File "/usr/local/lib64/python3.7/site-packages/numpy/distutils/core.py", line 137, in setup
config = configuration()
File "/mnt/tmp/pip-build-50goywb6/scipy/setup.py", line 536, in configuration
config.add_subpackage('scipy')
File "/usr/local/lib64/python3.7/site-packages/numpy/distutils/misc_util.py", line 1036, in add_subpackage
caller_level = 2)
File "/usr/local/lib64/python3.7/site-packages/numpy/distutils/misc_util.py", line 1005, in get_subpackage
caller_level = caller_level + 1)
File "/usr/local/lib64/python3.7/site-packages/numpy/distutils/misc_util.py", line 942, in _get_configuration_from_setup_py
config = setup_module.configuration(*args)
File "scipy/setup.py", line 12, in configuration
config.add_subpackage('interpolate')
File "/usr/local/lib64/python3.7/site-packages/numpy/distutils/misc_util.py", line 1036, in add_subpackage
caller_level = 2)
File "/usr/local/lib64/python3.7/site-packages/numpy/distutils/misc_util.py", line 1005, in get_subpackage
caller_level = caller_level + 1)
File "/usr/local/lib64/python3.7/site-packages/numpy/distutils/misc_util.py", line 942, in _get_configuration_from_setup_py
config = setup_module.configuration(*args)
File "scipy/interpolate/setup.py", line 58, in configuration
from pythran.dist import PythranExtension
ModuleNotFoundError: No module named 'pythran
However, if I install earlier version of scipy, scikit-learn installs without any issuses as given below:
sudo python3 -m pip install scipy==1.6.3
Is is possible to pin down the scipy version to earlier releases for this scikit-learn version?
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (5 by maintainers)
Top Results From Across the Web
SciPy 1.7.0 Release Notes — SciPy v1.9.3 Manual
SciPy 1.7.0 is the culmination of 6 months of hard work. It contains many new features, numerous bug-fixes, improved test coverage and better...
Read more >Can't pip install scipy on M1 - Stack Overflow
I can't "pip instal scipy" on my m1 mac, I get an error: Collecting scipy Using cached scipy-1.7.3.tar.gz (36.1 MB) Installing build ...
Read more >Installing the development version of scikit-learn
This section introduces how to install the main branch of scikit-learn. This can be done by either installing a nightly build or building...
Read more >PyTorch for Jetson - Jetson Nano - NVIDIA Developer Forums
I successfully installed torch and can import torch with no errors, but I am stuck on installing torchvision . When I try python...
Read more >Install TensorFlow with pip
Note: Starting with TensorFlow 2.10 , Linux CPU-builds for Aarch64/ARM64 ... There may be delays if the third party fails to release the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
That was also my guess hence the request for version above. That’s for the confirmation @Busteren !
After updating pip, the installation is working fine.