Hello!
I am using FreeBSD-current with python3.3 compiled from ports.
When I try to install py-distribute modules, installation script hangs:
byte-compiling
build/bdist.freebsd-10.0-CURRENT-amd64/egg/setuptools/tests/test_upload_docs.py
to test_upload_docs.cpython-33.pyc
byte-compiling
build/bdist.freebsd-10.0-CURRENT-amd64/egg/setuptools/tests/__init__.py to
__init__.cpython-33.pyc
byte-compiling build/bdist.freebsd-10.0-CURRENT-amd64/egg/_markerlib/markers.py
to markers.cpython-33.pyc
byte-compiling
build/bdist.freebsd-10.0-CURRENT-amd64/egg/_markerlib/__init__.py to
__init__.cpython-33.pyc
writing byte-compilation script '/tmp/tmpj9wdmz.py'
/usr/local/bin/python3.3 -O /tmp/tmpj9wdmz.py
<hangs forever>
top(1) shown that python3.3 process is in ttyin state:
63174 root 1 52 0 25096K 8540K ttyin 1 0:00 0.00% python3
If I run /usr/local/bin/python3.3 -O /tmp/tmpj9wdmz.py command manually, it
also hangs.
I am attaching tmpj9wdmz.py script. If I press Ctrl+D while it waits, I get
the following:
Traceback (most recent call last):
File "/tmp/tmpj9wdmz.py", line 1, in <module>
from distutils.util import byte_compile
File "/usr/local/lib/python3.3/distutils/util.py", line 9, in <module>
import imp
File "/usr/local/lib/python3.3/imp.py", line 28, in <module>
import tokenize
File "/usr/local/lib/python3.3/tokenize.py", line 37, in <module>
__all__ = token.__all__ + ["COMMENT", "tokenize", "detect_encoding",
AttributeError: 'module' object has no attribute '__all__'
Anyone else can reproduce that? (Only with python3 and FreeBSD-10)
Thanks!
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "[email protected]"