/local/lib/python2.5/site-packages/pygtk.py", line 47, in
> require
> versions = _get_available_versions()
> File "/usr/local/lib/python2.5/site-packages/pygtk.py", line 34, in
> _get_available_versions
> for filename in os.listdir(dir):
> OSError: [Errno 2
lable_versions()
File "/usr/local/lib/python2.5/site-packages/pygtk.py", line 34, in
_get_available_versions
for filename in os.listdir(dir):
OSError: [Errno 2] No such file or directory: '/usr/local/lib/
python25.zip'
What went wrong? How can I fix this?
Thanks in a
Colin J. Williams schrieb:
> The role of Python25.zip is not clear. Is it required in the path just
> to enable the import X.zip capability?
To rephrase Georg's explanation: it allows Python distributors (e.g.
Linux distributors, or ActiveState) to put all of the Python library
Colin J. Williams wrote:
> Dennis Lee Bieber wrote:
>> On Thu, 30 Nov 2006 18:14:11 -0500, "Colin J. Williams"
>> <[EMAIL PROTECTED]> declaimed the following in comp.lang.python:
>>
>>> As part of the Python initialization, C:\Windows\System32\Pyth
Dennis Lee Bieber wrote:
> On Thu, 30 Nov 2006 18:14:11 -0500, "Colin J. Williams"
> <[EMAIL PROTECTED]> declaimed the following in comp.lang.python:
>
>> As part of the Python initialization, C:\Windows\System32\Python25.zip
>> is set up in the path.
>
Colin J. Williams wrote:
> As part of the Python initialization, C:\Windows\System32\Python25.zip
> is set up in the path.
>
> I haven't seen any documentation on the use or purpose of the zip file.
http://docs.python.org/lib/module-zipimport.html
http://www.python.org/p
As part of the Python initialization, C:\Windows\System32\Python25.zip
is set up in the path.
I haven't seen any documentation on the use or purpose of the zip file.
Colin W.
--
http://mail.python.org/mailman/listinfo/python-list