gpt4 book ai didi

python-2.7 - 如何在安装 2.7 的同时将 easy_install 与 python 3.3 一起使用

转载 作者:行者123 更新时间:2023-12-04 18:41:50 25 4
gpt4 key购买 nike

我正在使用具有 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/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com