Is it ok to install both Python 2.7 and 3.5?

前端 未结 7 1200
有刺的猬
有刺的猬 2021-01-04 02:02

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 UDacit

7条回答
  •  长情又很酷
    2021-01-04 02:35

    It should be fine. Its actually pretty common to have multiple Python environments. It helps to prevent dependency conflicts between your projects. That is what is happening when you are using tools like pyenv and virtualenv.

    Using tools like pyenv and virtualenv may also help you with the path problems that others mentioned. They have commands to set up the path so that their version of pip, python, etc are used.

提交回复
热议问题