Multilpe python versions and interpreters

前端 未结 2 1378
耶瑟儿~
耶瑟儿~ 2020-12-21 07:24

I am trying to setup python 2.7.6 on my windows 7 machine (python 3.3.3 was installed first). When selecting the project interpreter after adding it in settings-project inte

相关标签:
2条回答
  • 2020-12-21 08:07

    Try adding these commands before you run your UI

    set PYTHONHOME=C:\Python33
    set PYTHONPATH=C:\Python33\lib
    
    0 讨论(0)
  • 2020-12-21 08:26

    I made a really silly mistake: I was messing with PYTHONPATH instead of PATH. I added both PYTHON33 and PYTHON27 to my PATH and it worked.

    0 讨论(0)
提交回复
热议问题