问题描述
据说 Python 2.7 包含在 OSX 10.8 及更高版本中(如果我没记错的话),但我最近安装了 Python 3.5 以在我通过 UDacity 工作时用于项目.瞧,UDacity 课程似乎使用 2.7 - wups!因此,我没有尝试卸载 3.5(这个过程对于像我这样的新手来说似乎很可怕),我只是在最近安装的 3.5 之外安装了 2.7,然后运行了 2.7 IDLE 和 Shell.这样可以吗,否则我以后会遇到问题吗?
Supposedly Python 2.7 is included native to OSX 10.8 and above (if I remember correctly), but I recently installed Python 3.5 to use for projects while I work through UDacity. Lo and behold, the UDacity courses seem to use 2.7 - wups! So instead of trying to uninstall 3.5 (this procedure seemed to scary for neophytes such as myself), I simply installed 2.7 in addition to the recently installed 3.5 and just run the 2.7 IDLE and Shell. Is this ok, or will I run into problems down the road?
推荐答案
我已经安装了 2.7、3.4 两个版本,现在没有任何问题.3.4 我在 eclipse 环境中用于我的工作项目,2.7 用于 udacity 课程,就像你一样;)
I have installed two versions, 2.7, 3.4 and I do not have any problem by now. 3.4 I am using for my work project in eclipse environment, 2.7 for udacity course, like You ;).
这篇关于可以同时安装 Python 2.7 和 3.5 吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!