I've discovered the cause of the problem. At some point previously,
Windows Vista had created a copy of the site-packages directory in a
virtual store for the user account. The easy-install.pth file in the
virtual store did not contain the same path information as the easy-
install.pth that the adm
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
sawilla wrote:
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 f
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
sawilla wrote:
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