cd /path/to/python3.3
./configure
make && make install
cd /path/to/twisted
python3 setup.py install
error: in 'ext_modules' option (extension 'twisted.runner.portmap'), 'sources' must be present and must be a list of source filenames
我将非常感谢在 centos 上使用 python3 的任何帮助。
谢谢你。
最佳答案
你不能以这种方式在 Python 3 上安装 Twisted。从颠覆中检查源代码:
svn checkout svn://svn.twistedmatrix.com/svn/Twisted/tags/releases/twisted-13.1.0
然后运行 setup3.py:
python3.3 setup3.py install
关于python - 在centos 6.x 上使用python3 安装twisted 失败?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18173985/