compile SCons in python3

妖精的绣舞 提交于 2019-12-02 11:21:05

问题


I am newbie at Python and am learning to code with Python 3 (which I plan to keep as my default version). Another software, I intend to use needs Python 2 for compiling (compilation with SCons). Is there a way around this i.e. keeping Python 3 while still compiling with SCons. Can virtualenv do this?


回答1:


the fact that scons is python2 doesn't matter. Your own project can be python3, python4, or anything your heart desires. Scons doesn't care, you just need to remember that you're in python2 land when you're editing your SConstruct files



来源:https://stackoverflow.com/questions/44096321/compile-scons-in-python3

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!