First, I'm new to Python. I'm getting and error when I run Python
2.5.2 as a regular user in Vista but not when I run Python as an
administrator.
For example, if I type "import numpy" after I launch python from an
adminstrator-privileged command window it loads fine. However, from a
regular-user c
On Apr 21, 5:42 pm, John Machin <[EMAIL PROTECTED]> wrote:
> Log on as administrator, start python in command window and do this:
>
> import sys
> sys.path # shows where python is looking for importables
> import numpy
> import os.path
> print os.path.abspath(numpy.__file__) # shows where it found
The access writes to easy-install.pth for regular users is read and
execute.
The output of sys.path for regular users is:
['', 'C:\\Program Files\\Python25\\lib\\site-packages\
\setuptools-0.6c8-py2.5.eg
g', 'C:\\Program Files\\Python25\\python25.zip', 'C:\\Program Files\
\Python25\\D
LLs', 'C:\\P
t the administrator account sees. I deleted the user's
Python25 directory in the virtual store and now the user's sys.path
contains all of the necessary paths.
Reg
On Apr 25, 12:04 pm, sawilla <[EMAIL PROTECTED]> wrote:
> The access writes to easy-install.pth for regular use
I need to get the cumulative process time for a function that returns
arguments and I'm having trouble doing so programmatically. After I
get the process time, I want to log it to a file, along with other
information. My problem is that I can't figure out how to do this
programmatically in a good w