我在Ubuntu Linux 16.04.1 LTS上用GCC 4.6.3构建了一个PyPy 5.3.1的虚拟环境,Python 2.7.10是基本解释器。在此虚拟环境中执行PIP安装numpy
时,将出现以下错误:
运行setup.py bdist_wheel for numpy...错误完成命令/home/wyx/pypy2env/bin/pypy-u-c的输出“import setuptools,tokenize;file='/tmp/pip-build-lsedyl/numpy/setup.py';exec(compile(getattr,tokenize,'open',open)(file).read().replace('\r\n','\n'),file,'exec'))”blas_opt_info:blas_mkl_info:在['/usr/local/lib','/usr/lib','/usr/lib/i386-linux-gnu']中找不到库mkl,vml,guide命令“/home/wyx/pypy2env/bin/pypy-u-c”import setuptools,tokenize;file='/tmp/pip-build-di6bfd/numpy/setup.py';exec(compile(getattr,tokenize,'open',open)(file).read().replace('\r\n','\n'),file,'exec'))“install--record/tmp/pip-niydw7-record/install-record.txt--/tmp/pip-build-di6bfd/numpy/
PIP列表
为
cffi(1.7.0)greenlet(0.4.9)pip(8.1.2)readline(6.2.4.1)setuptools(21.2.1)wheel(0.29.0)
PyPy有自己的numpy
工作版本。在其回购书上有安装说明。