Access violation trying to run Python over Win NT network.

Cliff Wells logiplexsoftware at earthlink.net
Mon Apr 29 21:48:26 EDT 2002


On Mon, 29 Apr 2002 21:17:55 -0400
Patrick wrote:

> I'm trying to run Python from a network drive.  On most machines it works,
> but on some machines it generates an access violation about 60% of the time,
> (just by typing 'python' with no arguments).  If I install Python locally it
> runs fine on all the machines.

Even on the machines where you get the access violations it works about 40% of
the time?

> I would really appreciate any help.  I've been trying to get the people at
> work to use Python and they have finally agreed to give it a try, but they
> don't want to install it on everyones machines, so we have to run from a
> network drive.

I've done this before without too many problems.  The usual problem was the
generation of .pyc files.  If the user doesn't have write permission on the
file/directory then it fails.  It seems odd that you would get access
violations simply by typing "python", but perhaps when python runs it tries to
byte-compile some modules and fails (very unsure of this, although I'm guessing
there are platform modules that might need to be compiled at startup).  You
might try compiling all of the modules yourself and see if that fixes it.

-- 
Cliff Wells, Software Engineer
Logiplex Corporation (www.logiplex.net)
(503) 978-6726 x308  (800) 735-0555 x308





More information about the Python-list mailing list