Using two different Python Distributions

后端 未结 3 1910
时光说笑
时光说笑 2020-12-13 11:07

I currently have continuum analytics\' python distribution (called anaconda) downloaded and in use on my computer. My problem is that I want to use virtualenv for a flask p

3条回答
  •  温柔的废话
    2020-12-13 12:03

    What about using a version manager like pyenv?

    Once installed, you can use it to install multiple python versions:

    pyenv install 2.7.16
    pyenv install anaconda-1.8.0
    

    Then switch to a specific version locally or globally:

    pyenv global 2.7.16
    

    This blog has more details on this approach.

提交回复
热议问题