ERROR: Could not build wheels for scipy which use PEP 517 and cannot be installed directly

后端 未结 3 905
小蘑菇
小蘑菇 2020-12-11 02:28

I\'m trying to install scipy via pip on my 64 bit ARMV8 board. I have already installed openblas which is required by scipy. So, no issues with that. When i gave pip3

相关标签:
3条回答
  • 2020-12-11 02:33

    I had the same issue with opencv-python. What worked for me was updating pip as:

    pip3 install --upgrade pip
    

    Note: I am using docker on Linux.

    0 讨论(0)
  • 2020-12-11 02:35

    My problem was not with scipy, but with xmlsec. The error message was almost the same:

    ERROR: Could not build wheels for xmlsec which use PEP 517 and cannot be installed directly
    

    I needed this library, because it was dependency for python3-saml. From the documentation I read that they first install these packages:

    sudo apt-get install libxml2-dev libxmlsec1-dev
    

    After doing this the installation of python3-saml worked for me.

    pip3 -V
    pip 20.2.3
    
    python -V
    Python 3.8.0b3
    

    Probably the answer for other libraries is different, but they all need some package in order to be build, and you should find what is this package for you.

    0 讨论(0)
  • 2020-12-11 02:38

    I had the same issue. I resolved this issue after run below command

    pip install --upgrade pip setuptools wheel
    
    0 讨论(0)
提交回复
热议问题