我正在使用具有 root 访问权限的 ubuntu,并在我的系统中安装了 python 3.3 和 2.7。当我默认使用 easy_install 时,它会安装 2.7 的包。
我如何使用它来安装到 3.3
最佳答案
在 Ubuntu 14.04 上测试:
1) 使用pip
而不是 easy_install
.这是 future 的方式。 ;-)
2) sudo apt-get install python3-pip
3) sudo pip3 install AWESOME-PACKAGE
关于python-2.7 - 如何在安装 2.7 的同时将 easy_install 与 python 3.3 一起使用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21565926/