我想在virtualenv下安装numpy。我按照How to install numpy in a virtualenv on Debian?中描述的方式进行操作。我使用cmd行:/home/szh702/virtenv/bin/pip install numpy
(virtenv
是我设置virtualenv的名称),但仍然得到如下错误的消息:
Command /home/szh702/virtenv/bin/python3 -c "import setuptools, tokenize;__file__='/home/szh702/virtenv/build/numpy/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-soyglwkq-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/szh702/virtenv/include/site/python3.4 failed with error code 1 in /home/szh702/virtenv/build/numpy
Storing debug log for failure in /home/szh702/.pip/pip.log
有人可以告诉我如何解决它吗?