|
From: Martin C. <cos...@wa...> - 2005-12-03 15:12:26
|
Lenore Horner wrote:
> I used fink to install visual-py23
> (visual-py23_2.1.9-6_darwin-powerpc.deb). After updating my path (see below)
Setting the path (or what is the same, PATH) variable has nothing to do
with Python's module search path. It is the search path for executables
that you start from the shell command prompt. For Python's module search
path, you have the PYTHONPATH environment variable.
> I opened terminal and typed "idle" at the prompt. Idle started, but it
> cannot locate the visual package - see below.
Why don't you just use the "vpython2.3" command as suggested by the
visual-py23 usage notes ("fink describe visual-py23")? This command sets
the right environment variables and runs the right versions of idle and
of python. It is a shell script, /sw/bin/python2.3, which you can read
as a text file if you want to see what it is doing.
--
Martin
|