On Fri, November 2, 2007 8:34 am, John Mark Swafford said:
> Hello All,
>
> I have been able to make my experiment work thus far, but I have only
> figured out a slow way to do so. The first problem I encountered was
> exporting the PYTHONPATH and PYROBOT. I can run the following from the
> terminal:
> export PYTHONPATH=/dir
> export PYROBOT=/dir

The PYROBOT environment var should be:

export PYROBOT=/dir/pyrobot

and it needs to be in a subdir named pyrobot.

This is probably the problem.

-Doug

> but they do not work when I run them as system commands from Python or
> when I run them as system commands from a Perl script. I also included
> them in my .bash_profile and I still have to type them every time I open
> a terminal. Has anyone found a way around this?
>
> My next question involves the .loadbrain() method. When I try and use
> the .loadbrain() method it only looks in a certain pyrobot directory
> (pyrobot/plugins/brains I think). I can still run my programs by linking
> them into that directory, but that is pretty slow. Is there a way to
> specify the directory that .loadbrain() looks at? Any and all
> suggestions would be more than welcome.
>
> Kind Regards,
> John Mark Swafford
> Allegheny College
> _______________________________________________
> Pyro-users mailing list
> [email protected]
> http://emergent.brynmawr.edu/mailman/listinfo/pyro-users
>


-- 
Douglas S. Blank
Associate Professor, Bryn Mawr College
http://cs.brynmawr.edu/~dblank/
Office: 610 526 6501

_______________________________________________
Pyro-users mailing list
[email protected]
http://emergent.brynmawr.edu/mailman/listinfo/pyro-users

Reply via email to