python - 如何让sublime在py2和py3中自由切换
PHP中文网
PHP中文网 2017-04-18 09:35:14
0
2
294

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

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

PHP中文网
PHP中文网

认证高级PHP讲师

reply all (2)
Peter_Zhu

You need a pyenv

    黄舟

    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.

      Latest Downloads
      More>
      Web Effects
      Website Source Code
      Website Materials
      Front End Template
      About us Disclaimer Sitemap
      php.cn:Public welfare online PHP training,Help PHP learners grow quickly!