[TIP] can't install coverage.py
Gary Robinson
garyrob at me.com
Wed Jun 9 08:13:16 PDT 2010
Hello,
I'm trying to install coverage.py. Whether I use easy_install or setup.py, I get the same error, shown below. Does anyone know why this would happen? The Python I have installed is unladen swallow, but I generally have no problem installing packages into it. Also, in case it's relevant, I'm on SUSE Linux.
sudo python setup.py install
Traceback (most recent call last):
File "setup.py", line 50, in <module>
from coverage import __url__, __version__
File "/home/grobinson/coverage-3.3.1/coverage/__init__.py", line 12, in <module>
from coverage.control import coverage, process_startup
File "/home/grobinson/coverage-3.3.1/coverage/control.py", line 14, in <module>
from coverage.results import Analysis
File "/home/grobinson/coverage-3.3.1/coverage/results.py", line 7, in <module>
from coverage.parser import CodeParser
File "/home/grobinson/coverage-3.3.1/coverage/parser.py", line 256, in <module>
'BREAK_LOOP', 'CONTINUE_LOOP',
File "/home/grobinson/coverage-3.3.1/coverage/parser.py", line 248, in _opcode_set
return set([_opcode(name) for name in names])
File "/home/grobinson/coverage-3.3.1/coverage/parser.py", line 244, in _opcode
return opcode.opmap[name]
KeyError: 'RAISE_VARARGS'
--
Gary Robinson
CTO
Emergent Music, LLC
personal email: garyrob at me.com
work email: grobinson at flyfi.com
Company: http://www.flyfi.com
Blog: http://www.garyrobinson.net
More information about the testing-in-python
mailing list