Problem installing numpy for PyPy3 on Windows 10

前端 未结 2 715
难免孤独
难免孤独 2021-01-23 05:19

I am having issues trying to install numpy for pypy3 on my Windows 10 machine.

As I am unable to tell if this problem stems from my pypy3 installation or from something

相关标签:
2条回答
  • 2021-01-23 05:49

    Seems to be ppy3 is not properly installed. Try installing through wget.

    wget https://bootstrap.pypa.io/get-pip.py
    ./pypy get-pip.py
    

    Once installed, try installing numpy

    pypy -m pip install numpy 
    
    0 讨论(0)
  • 2021-01-23 05:58

    Thanks for trying out PyPy on Windows and reporting problems. We don't really have a large Windows PyPy community, so feedback is good. There are two things at play here:

    • The RPython error (think of it as a C level segfault in CPython), which might be caused by non-ascii path names. I think we fixed this after the 7.3.1 release, but it would be good to try to work out exactly what is going on there, it is/was a bug deep in PyPy.
    • The failure to build, with the cryptic "Broken toolchain: cannot link a simple C program". This has to do with a transition from MSVC9 (Visual Studio 2008) to MSVC14 (Visual Studio 2017, 2019) in the latest release. It should be fixed in this commit to PyPy, which should land in the next nightly build
    0 讨论(0)
提交回复
热议问题