search

Home  >  Q&A  >  body text

python - 如何让sublime在py2和py3中自由切换

电脑上装了python2和python3,但是因为2和3有时不兼容,所以想问一下如何让sublime在py2和py3中自由切换??
之前在百度上查过了,说是新建一个编译系统就行了,我照着做了,但是程序一运行就报错了,如下图

百度经验:http://jingyan.baidu.com/arti...
(没用的。。。所以这个问题该怎么解决?)

PHP中文网PHP中文网2811 days ago390

reply all(2)I'll reply

  • 天蓬老师

    天蓬老师2017-04-18 09:37:14

    You need a pyenv

    reply
    0
  • 黄舟

    黄舟2017-04-18 09:37:14

    The easiest way is to install the python3 plug-in, which will automatically add the python3 compilation system. Switch to the required compilation system when compiling.

    reply
    0
  • Cancelreply