I am following the Pylearn2 tutorial and in one of the steps the following is written:
You should have pylearn2/scripts in your PATH enviroment variable.
So i added:
C:\Anaconda\Lib\site-packages\pylearn2-0.1dev-py2.7.egg\pylearn2\scripts\
to the PATH variable.
If i want to execute one of the scripts that is in the mentioned folder (for example 'train.py') by using the 'execfile' function, do i need to add the path to it again? I have been trying this in the interpreter:
>>> execfile('train.py')
However, i get the error message:
IOError: [Errno 2] No such file or directory: 'train.py'
Shouldn't python look for the script in the directory path in the PATH variable?
Please help me if you can.