How to set Python's default version to 3.x on OS X?

前端 未结 21 1701
滥情空心
滥情空心 2020-11-22 07:52

I\'m running Mountain Lion and the basic default Python version is 2.7. I downloaded Python 3.3 and want to set it as default.

Currently:

$ python
           


        
21条回答
  •  心在旅途
    2020-11-22 08:16

    For me the solution was using PyCharm and setting the default python version to the the one that i need to work with.

    install PyCharm and go to file ==> preferences for new project, then choose the interpreter you want for your projects, in this case python 3.3

提交回复
热议问题