简体   繁体   English

在Linux中,如何为不同版本的Python编译和安装代码?

[英]In Linux, how do I compile and install code for different versions of Python?

See the title for the question. 请参阅问题标题。 In particular, in Linux, how do I compile and install PyGTK 2.24 for different versions of Python? 特别是在Linux中,如何为不同版本的Python编译并安装PyGTK 2.24?

Do I have to specify options and paths while using "configure, make, make install" or "setup.py?" 使用“配置,进行,进行安装”或“ setup.py”时是否必须指定选项和路径?

#python2.6 setup.py

or 要么

#python2.5 setup.py

will make the difference 会有所作为

Edit: for PyGTK please refer to this FAQ 编辑:对于PyGTK,请参阅此常见问题解答

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM