1

I need a certain Python library (namely Blender) which only works for Python3.x

This is going to mean installing numpy for Python 3. I get

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

Right now it only works for my 2.7
Is it possible to install pip so that it works for both Python 2.7 and Python 3 ?

Community
  • 1
  • 1
john mangual
  • 7,718
  • 13
  • 56
  • 95

1 Answers1

1

You can ask python to run pip module as a script

python -m pip --help
python3 -m pip install whatever
vpoverennov
  • 307
  • 3
  • 10