This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author cgohlke
Recipients amaury.forgeotdarc, cgohlke, loewis
Date 2010-06-02.23:02:11
SpamBayes Score 0.00071532355
Marked as misclassified No
Message-id <1275519733.07.0.465892593629.issue6470@psf.upfronthosting.co.za>
In-reply-to
Content
Btw, this bug is also present in Python 3.1, of course when using tkinter instead of Tkinter.

Here is how to reproduce the bug on your local system: Install python-2.7b2.msi into C:\Python27. Then open a command prompt with administrator privileges and start python.exe as follows:

\\%COMPUTERNAME%\C$\Python27\python.exe -c "from Tkinter import *"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "\\KLAPAUCIUS\C$\Python27\lib\lib-tk\Tkinter.py", line 38, in <module>
    import FixTk
  File "\\KLAPAUCIUS\C$\Python27\lib\lib-tk\FixTk.py", line 56, in <module>
    for name in os.listdir(prefix):
WindowsError: [Error 3] The system cannot find the path specified: 'UNC\\KLAPAUCIUS\\C$\\Python27\\tcl/*.*'



It does not matter whether the network share is mapped as a drive letter or not, the Tkinter import fails with the same WindowsError. Also mounted network drives do have problems with UAC.

A local Python installation can simply be copied to a network share and used from there from several other computers. All that eventually needs attention is the python*.dll, some scripts, and the MSVC runtime. I have deployed Python like this for years in several computer labs.
History
Date User Action Args
2010-06-02 23:02:13cgohlkesetrecipients: + cgohlke, loewis, amaury.forgeotdarc
2010-06-02 23:02:13cgohlkesetmessageid: <1275519733.07.0.465892593629.issue6470@psf.upfronthosting.co.za>
2010-06-02 23:02:11cgohlkelinkissue6470 messages
2010-06-02 23:02:11cgohlkecreate