V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  forLearn  ›  全部回复第 1 页 / 共 1 页
回复总数  3
2016-05-04 14:44:48 +08:00
回复了 vJianZhen 创建的主题 Python 同一台机器同时安装 python2.7 和 python3.4 会不会冲突呀?
关于共存我弄好了,我想了想还是说说吧。
将两个文件夹都放到环境变量中,同时不要用 PYTHONHOME 这个变量值。最后,我把 python3.4 的文件夹中的 python.exe 重命名为 python3.exe 了,这样在命令行可以直接以 python 与 python3 分别调用。
也感谢 @Delbert 的回复。
2016-04-28 09:03:35 +08:00
回复了 vJianZhen 创建的主题 Python 同一台机器同时安装 python2.7 和 python3.4 会不会冲突呀?
@Delbert 在 windows 上应该怎么配置环境变量以共存呢?
2016-04-28 08:56:42 +08:00
回复了 jy02201949 创建的主题 Python 我的 Ubuntu 16.04 怎么还是 Python 2.7.11
***@****:~$ python
Python 2.7.11+ (default, Apr 17 2016, 14:00:29)
[GCC 5.3.1 20160413] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> exit()
***@****:~$ python3
Python 3.5.1+ (default, Mar 30 2016, 22:46:26)
[GCC 5.3.1 20160330] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> exit()
16.04 是自带 python3 的
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1135 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 11ms · UTC 22:57 · PVG 06:57 · LAX 15:57 · JFK 18:57
Developed with CodeLauncher
♥ Do have faith in what you're doing.