我需要一个Blender
的某个Python库(即only works for Python3.x)这意味着为Python 3安装numpy
。我得到了
Python 3.2.3 (default, Sep 25 2013, 19:36:10)
[GCC 4.7.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named numpy
现在它只适用于我的2.7
是否可以安装pip
以便它适用于Python 2.7和Python 3?
答案 0 :(得分:1)
您可以让python将pip模块作为脚本运行
python -m pip --help
python3 -m pip install whatever