Skip to content
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

Installation fails for scipy on Ubuntu 20.10 #6

Open
sangaman opened this issue Jan 27, 2021 · 1 comment
Open

Installation fails for scipy on Ubuntu 20.10 #6

sangaman opened this issue Jan 27, 2021 · 1 comment

Comments

@sangaman
Copy link

sangaman commented Jan 27, 2021

I can't install this either using option 1 or option 2 from the instructions with the same error while building scipy. I'm using python 3.8.6 on Ubuntu 20.10. I've tried installing the following dependencies: sudo apt install python3-testresources gfortran python3-dev libblas3 liblapack3 liblapack-dev libblas-dev libatlas-base-dev python3-scipy

Here's a snippet of the error output (there's a lot of it):

  Building wheel for scipy (setup.py): finished with status 'error'
  ERROR: Command errored out with exit status 1:
   command: /home/daniel/Documents/GitHub/fast-near-duplicate-image-search/.pyenv/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-vdc1x7x4/scipy/setup
.py'"'"'; __file__='"'"'/tmp/pip-install-vdc1x7x4/scipy/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(c
ompile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-y7tlt6cn
       cwd: /tmp/pip-install-vdc1x7x4/scipy/
  Complete output (9458 lines):
  /tmp/pip-install-vdc1x7x4/scipy/setup.py:114: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
    import imp
  Running from scipy source directory.
  lapack_opt_info:
  lapack_mkl_info:
  customize UnixCCompiler
    libraries mkl_rt not found in ['/home/daniel/Documents/GitHub/fast-near-duplicate-image-search/.pyenv/lib', '/usr/local/lib', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
    NOT AVAILABLE
  
  openblas_lapack_info:
  customize UnixCCompiler
  customize UnixCCompiler
    libraries openblas not found in ['/home/daniel/Documents/GitHub/fast-near-duplicate-image-search/.pyenv/lib', '/usr/local/lib', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
    NOT AVAILABLE
  
  openblas_clapack_info:
  customize UnixCCompiler
  customize UnixCCompiler
    libraries openblas,lapack not found in ['/home/daniel/Documents/GitHub/fast-near-duplicate-image-search/.pyenv/lib', '/usr/local/lib', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
    NOT AVAILABLE
  
  atlas_3_10_threads_info:
  Setting PTATLAS=ATLAS
  customize UnixCCompiler
    libraries lapack_atlas not found in /home/daniel/Documents/GitHub/fast-near-duplicate-image-search/.pyenv/lib
  customize UnixCCompiler
    libraries tatlas,tatlas not found in /home/daniel/Documents/GitHub/fast-near-duplicate-image-search/.pyenv/lib
  customize UnixCCompiler
    libraries lapack_atlas not found in /usr/local/lib
  customize UnixCCompiler
    libraries tatlas,tatlas not found in /usr/local/lib
  customize UnixCCompiler
    libraries lapack_atlas not found in /usr/lib
  customize UnixCCompiler
    libraries tatlas,tatlas not found in /usr/lib
  customize UnixCCompiler
    libraries lapack_atlas not found in /usr/lib/x86_64-linux-gnu/atlas
  customize UnixCCompiler
    libraries tatlas,tatlas not found in /usr/lib/x86_64-linux-gnu/atlas
@Nicolas1203
Copy link

Hi,

You can see in the requirements that scipy 1.2.1 is needed. It is an old version that, AFAIK, cannot be installed with python 3.8.
I had a similar issue and moving from python 3.8 to 3.7 fixed it.

Hope this helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants