Jin Hu
Jin Hu

Reputation: 166

installation of twisted fails using python3 on centos 6.x?

  1. First, i compiled and installed python3.3 manually, no error reported.

    cd /path/to/python3.3
    ./configure
    make && make install
    
  2. Then i downloaded twisted source tree and install it with these commands:

    cd /path/to/twisted
    python3 setup.py install
    
  3. then the error reported:

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

    I would very appreciate any help getting twisted to work with python3 on centos.

    Thank you.

Upvotes: 0

Views: 1041

Answers (1)

Jean-Paul Calderone
Jean-Paul Calderone

Reputation: 48325

You can't install Twisted on Python 3 this way. Check the source out from subversion:

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

Then run setup3.py:

python3.3 setup3.py install

Upvotes: 1

Related Questions