在CentOS 6.x上使用Python3安装扭曲失败?

2024-04-27 04:13:45 发布

您现在位置:Python中文网/ 问答频道 /正文

  1. 首先,我手动编译并安装python3.3,没有错误报告。在

    cd /path/to/python3.3
    ./configure
    make && make install
    
  2. 然后我下载了twisted source tree并用以下命令安装它:

    cd /path/to/twisted
    python3 setup.py install
    
  3. 然后报告错误:

    error: in 'ext_modules' option (extension 'twisted.runner.portmap'), 'sources' must be present and must be a list of source filenames
    

    我将非常感谢任何在centos上使用python3的帮助。在

    谢谢。


Tags: installtopath命令treesourcemakeconfigure
1条回答
网友
1楼 · 发布于 2024-04-27 04:13:45

你不能用这种方式在python3上安装Twisted。从subversion中检查源代码:

svn checkout svn://svn.twistedmatrix.com/svn/Twisted/tags/releases/twisted-13.1.0

然后运行setup3.py:

^{pr2}$

相关问题 更多 >