Skip to content

Installation fails for scipy on Ubuntu 20.10 #6

Open
@sangaman

Description

@sangaman

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions