Problem building Python from source

Kent Tenney ktenney at gmail.com
Wed Sep 30 14:16:16 EDT 2009


Trying to do a vanilla cmmi:

~/Python-2.6.3rc1$ ./configure
~/Python-2.6.3rc1$ make
...
Traceback (most recent call last):
...
ImportError: No module named cStringIO
make: *** [sharedmods] Error 1

The fix is to uncomment the line in Modules/Setup
#cStringIO cStringIO.c

Question:

Is there an argument to ./configure or make, or an environment setting
which will make cStringIO available without editing Modules/Setup ?

Thanks,
Kent



More information about the Python-list mailing list