forLearn's recent timeline updates
forLearn

forLearn

V2EX member #161220, joined on 2016-03-01 09:51:54 +08:00
forLearn's recent replies
关于共存我弄好了,我想了想还是说说吧。
将两个文件夹都放到环境变量中,同时不要用 PYTHONHOME 这个变量值。最后,我把 python3.4 的文件夹中的 python.exe 重命名为 python3.exe 了,这样在命令行可以直接以 python 与 python3 分别调用。
也感谢 @Delbert 的回复。
@Delbert 在 windows 上应该怎么配置环境变量以共存呢?
Apr 28, 2016
Replied to a topic by 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 的
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3396 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 12ms · UTC 11:25 · PVG 19:25 · LAX 04:25 · JFK 07:25
♥ Do have faith in what you're doing.