How to install python3 version of package via pip on Ubuntu?

前端 未结 17 1752
粉色の甜心
粉色の甜心 2020-11-22 11:03

I have both python2.7 and python3.2 installed in Ubuntu 12.04.
The symbolic link python links to python2.7

17条回答
  •  抹茶落季
    2020-11-22 11:34

    I had the same problem while trying to install pylab, and I have found this link

    So what I have done to install pylab within Python 3 is:

    python3 -m pip install SomePackage
    

    It has worked properly, and as you can see in the link you can do this for every Python version you have, so I guess this solves your problem.

提交回复
热议问题