I've installed psyco 1.4 for linux from the source by
python setup.py install
and it all went okay.
But take a look at this...
>>> import psyco
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "psyco/__init__.py", line 45, in ?
raise ImportError, str(e) + extramsg
ImportError: No module named _psyco (cannot locate the
compiled extension '_psyco.so' in the package path 'psyco')
_psyco.so is in the right place, it just that the
installation set it to have executable permission, and
so it could not be found by referencing it from a
Writing "chmod auo-x ./_psyco.so" fixed the problem,
but it would be nicer if the installation wouldn't set
this permission in the first place.
Log in to post a comment.