Message72823
Hello. I failed to build py3k on cygwin (configure --without-threads).
It's because io.py imports _dummy_thread, and it imports traceback, and
it tries to import c-module itertools which is not built yet.
Attached file is workaround patch.
/////////////////////////////
Fatal Python error: Py_Initialize: can't initialize sys standard streams
Traceback (most recent call last):
File "/home/WhiteRabbit/python-dev/py3k/Lib/io.py", line 64, in <module>
from _thread import allocate_lock as Lock
ImportError: No module named _thread
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/WhiteRabbit/python-dev/py3k/Lib/io.py", line 66, in <module>
from _dummy_thread import allocate_lock as Lock
File "/home/WhiteRabbit/python-dev/py3k/Lib/_dummy_thread.py", line
19, in <mo
dule>
import traceback as _traceback
File "/home/WhiteRabbit/python-dev/py3k/Lib/traceback.py", line 6, in
<module>
import itertools
ImportError: No module named itertools
Aborted (core dumped) |
|
Date |
User |
Action |
Args |
2008-09-09 06:56:39 | ocean-city | set | recipients:
+ ocean-city |
2008-09-09 06:56:39 | ocean-city | set | messageid: <1220943399.18.0.51803892566.issue3812@psf.upfronthosting.co.za> |
2008-09-09 06:56:38 | ocean-city | link | issue3812 messages |
2008-09-09 06:56:37 | ocean-city | create | |
|