How can I install multiple versions of Python on latest OS X and use them in parallel?

后端 未结 5 1439
暖寄归人
暖寄归人 2020-12-05 06:59

I want to run tests with multiple Python versions on OS X 10.11, including:

  • Python 2.6 - ?!
  • Python 2.7 - default - solved
  • Python 3.4 - ?!
5条回答
  •  执念已碎
    2020-12-05 07:20

    pyenv is all well and good but I feel that we should give a mention to the wonderful pipenv library from Kenneth Reitz.

    https://github.com/pypa/pipenv

    It provides the functionality of pyenv plus dependency locking, support for .env out-of-the-box and much more.

提交回复
热议问题