Re: How can I update 'wherever PATH info is stored' ?

"Werner F. Bruhin" <[email protected]> Sat, 22 Nov 2008 09:19:47 +0100
Newsgroups gmane.comp.ide.boa-constructor.user
Message-ID <[email protected]>
vmars wrote:
> Greetings;
>  From BOA, When I try to RUN the "XRCed-02.py" and "XRCed-02.xrc" files, 
> I get the following
> msg: 
> BoaError Execution command "C:\Program 
> Files\Python26\python.exe"XRCed.02.py
> 'failed (error 2: the system cannot find the file specified.)
How are you trying to execute this in Boa?

BTW, I just tried to run xrced.py which is included with wxPython 
2.8.9.1 and get an import error on xrced.xrced or something similar.  I 
get the same error if I go to the tools\xrced folder and run python 
xrced.py.

>  
> Please, How can I update 'wherever this PATH info is stored' to look 
> here instead:
>  
> C:\Python\Lib\site-packages\Boa Constructor\Practice
>  
> My current Envorinment Variables say:
> PYTHON C:\Python
>  
> PYTHONPATH
>  
> C:\Python\Lib\site-packages\wx-2.8-msw-unicode\wxPython;C:\Python\Lib\site-package
>  
> s\Boa Constructor\Practice
I am not sure that your problem is with the path, but anyhow if you want 
to change it have a look a sys module in particular:

path
A list of strings that specifies the search path for modules. 
Initialized from the environment variable PYTHONPATH, plus an 
installation-dependent default.


Werner


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/