“failed with error code 1” while installing scipy

前端 未结 4 1907
囚心锁ツ
囚心锁ツ 2021-01-13 02:33

I have Python 2.7.9 on windows 7 64-bits. I\'m trying to install scipy using pip. I used pip install scipy but I get the following error :

Comma         


        
相关标签:
4条回答
  • 2021-01-13 02:38

    Installing setuptools made it work for me (Mac OS)

    pip install -U pip setuptools
    
    0 讨论(0)
  • 2021-01-13 02:44

    On Windows, you'll need to use the unofficial precompiled binaries:

    http://www.lfd.uci.edu/~gohlke/pythonlibs/

    Select the version matching your architecture and Python version.

    0 讨论(0)
  • 2021-01-13 02:59

    I'm on Ubuntu 14.04. I tried installing through pip which kept on failing with error code 1 or took forever to finish (never finished actually!). However, the following command worked without a hitch:

    sudo apt-get install python-numpy python-scipy python-matplotlib ipython ipython-notebook python-pandas python-sympy python-nose
    

    Reference: http://www.scipy.org/install.html

    0 讨论(0)
  • 2021-01-13 03:02

    I also had the same error when installing scipy.

    Then I downloaded and installed MiniConda. And then I used the below command to install pytables.

    conda install -c conda-forge scipy
    

    Please refer the below screenshot.

    0 讨论(0)
提交回复
热议问题