我在Windows机器上使用WSL2(Ubuntu 20.04.1 LTS)。在我的Linux子系统中,我集成了anaconda并创建了pypy3.6环境。我安装了一些没有问题的软件包,例如networkx和numpy,但是我无法集成熊猫。我知道熊猫可能会变慢,在这个项目中我离不开它。
我使用了pypy -mpip install pandas
这是产生的错误:
ERROR: Command errored out with exit status 1:
command: /home/kuba/anaconda3/envs/pypy/bin/pypy /home/kuba/anaconda3/envs/pypy/site-packages/pip install
--ignore-installed
--no-user
--prefix /tmp/pip-build-env-p5ojfkij/overlay
--no-warn-script-location
--no-binary :none:
--only-binary :none: -i https://pypi.org/simple
-- setuptools wheel 'Cython>=0.29.21,<3'
'numpy==1.15.4; python_version=='"'"'3.6'"'"'
and platform_system!='"'"'AIX'"'"'' 'numpy==1.15.4; python_version=='"'"'3.7'"'"'
and platform_system!='"'"'AIX'"'"'' 'numpy==1.17.3; python_version=='"'"'3.8'"'"'
and platform_system!='"'"'AIX'"'"'' 'numpy==1.16.0; python_version=='"'"'3.6'"'"'
and platform_system=='"'"'AIX'"'"'' 'numpy==1.16.0; python_version=='"'"'3.7'"'"'
and platform_system=='"'"'AIX'"'"'' 'numpy==1.17.3; python_version=='"'"'3.8'"'"'
and platform_system=='"'"'AIX'"'"'' 'numpy;
python_version>='"'"'3.9'"'"''
我是pypy的新手,但它似乎与numpy有关。
Python 3.6.9 (?, Oct 06 2020, 12:49:32)
[PyPy 7.3.2 with GCC 7.5.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>> import numpy
>>>> numpy.__version__
'1.19.4'