Created
September 20, 2012 02:28
-
-
Save briandant/3753610 to your computer and use it in GitHub Desktop.
Twisted error from python setup.py develop
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Error Output ### | |
Downloading http://pypi.python.org/packages/source/T/Twisted/Twisted-12.2.0.tar.bz2#md5=9a321b904d01efd695079f8484b37861 | |
Processing Twisted-12.2.0.tar.bz2 | |
Writing /tmp/easy_install-ftgyUB/Twisted-12.2.0/setup.cfg | |
Running Twisted-12.2.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-ftgyUB/Twisted-12.2.0/egg-dist-tmp-AgVk9z | |
twisted/runner/portmap.c:10:20: error: Python.h: No such file or directory | |
twisted/runner/portmap.c:14: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token | |
twisted/runner/portmap.c:31: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token | |
twisted/runner/portmap.c:45: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘PortmapMethods’ | |
twisted/runner/portmap.c: In function ‘initportmap’: | |
twisted/runner/portmap.c:55: warning: implicit declaration of function ‘Py_InitModule’ | |
twisted/runner/portmap.c:55: error: ‘PortmapMethods’ undeclared (first use in this function) | |
twisted/runner/portmap.c:55: error: (Each undeclared identifier is reported only once | |
twisted/runner/portmap.c:55: error: for each function it appears in.) | |
error: Setup script exited with error: command 'gcc' failed with exit status 1 | |
### Test Output ### | |
==================================================== test session starts ==================================================== | |
platform linux2 -- Python 2.6.5 -- pytest-2.2.4 | |
collected 0 items / 4 errors | |
========================================================== ERRORS =========================================================== | |
____________________________________ ERROR collecting bugimporters/tests/test_github.py _____________________________________ | |
../../envs/oh-bugimporters/lib/python2.6/site-packages/py/_path/local.py:532: in pyimport | |
> __import__(modname) | |
bugimporters/tests/__init__.py:1: in <module> | |
> import twisted | |
E ImportError: No module named twisted | |
____________________________________ ERROR collecting bugimporters/tests/test_google.py _____________________________________ | |
../../envs/oh-bugimporters/lib/python2.6/site-packages/py/_path/local.py:532: in pyimport | |
> __import__(modname) | |
bugimporters/tests/__init__.py:1: in <module> | |
> import twisted | |
E ImportError: No module named twisted | |
____________________________________ ERROR collecting bugimporters/tests/test_roundup.py ____________________________________ | |
../../envs/oh-bugimporters/lib/python2.6/site-packages/py/_path/local.py:532: in pyimport | |
> __import__(modname) | |
bugimporters/tests/__init__.py:1: in <module> | |
> import twisted | |
E ImportError: No module named twisted | |
_____________________________________ ERROR collecting bugimporters/tests/test_trac.py ______________________________________ | |
../../envs/oh-bugimporters/lib/python2.6/site-packages/py/_path/local.py:532: in pyimport | |
> __import__(modname) | |
bugimporters/tests/__init__.py:1: in <module> | |
> import twisted | |
E ImportError: No module named twisted | |
---------------------------------------------- generated xml file: report.xml ----------------------------------------------- | |
-------------------------------------- coverage: platform linux2, python 2.6.5-final-0 -------------------------------------- | |
Coverage XML written to file coverage.xml | |
================================================== 4 error in 0.95 seconds ================================================== | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment