Reputation: 166
First, i compiled and installed python3.3 manually, no error reported.
cd /path/to/python3.3
./configure
make && make install
Then i downloaded twisted source tree and install it with these commands:
cd /path/to/twisted
python3 setup.py install
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
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