Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/python-2.7/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 2.7 如何将easy_install与python 3.3一起使用,同时也安装了python 2.7_Python 2.7_Ubuntu_Python 3.3_Easy Install - Fatal编程技术网

Python 2.7 如何将easy_install与python 3.3一起使用,同时也安装了python 2.7

Python 2.7 如何将easy_install与python 3.3一起使用,同时也安装了python 2.7,python-2.7,ubuntu,python-3.3,easy-install,Python 2.7,Ubuntu,Python 3.3,Easy Install,我正在使用具有root访问权限的ubuntu,并且在我的系统中安装了python 3.3和2.7。当我默认使用easy_install时,它会安装2.7版本的软件包 我如何使用它来安装到3.3版本,而不是Ubuntu 14.04上测试的版本: 1) 使用pip而不是easy\u install。这是未来的道路 2) sudo-apt-get-install-python3-pip 3) sudo pip3安装AWESOME-PACKAGE

我正在使用具有root访问权限的ubuntu,并且在我的系统中安装了python 3.3和2.7。当我默认使用easy_install时,它会安装2.7版本的软件包


我如何使用它来安装到3.3版本,而不是Ubuntu 14.04上测试的版本:

1) 使用
pip
而不是
easy\u install
。这是未来的道路

2)
sudo-apt-get-install-python3-pip

3)
sudo pip3安装AWESOME-PACKAGE