Hi all,

I recently instaled nupic, Ubuntu OS, and passed all the tests listed on
the readme file without errors but i can't execute "run_swarm.py" because
the program not found the command. Following the example of "Predicting
Sine Waves with NuPIC":

marcos@ubuntu:~/sine-tutorial$ python
Python 2.7.3 (default, Feb 27 2014, 19:58:35)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import nupic
>>> quit()
marcos@ubuntu:~/sine-tutorial$ run_swarm.py search_def.json --maxWorkers=8
run_swarm.py: command not found
marcos@ubuntu:~/sine-tutorial$

Any suggestions please?



2014-04-06 19:42 GMT+02:00 Marcos Romero <[email protected]>:

> Problem solved. Finally i had to define the enviroment variables $NTA and
> $NUPIC in the ".bashrc" and it works.
>
> Thank you all.
>
>
> 2014-04-04 17:05 GMT+02:00 Matt Keith <[email protected]>:
>
> Marcos,
>>
>> As the error states, you need to make sure that the $NTA environment
>> variable is set to a different location than the $NUPIC variable.  You can
>> run the 'env' command to see all of the variables that are currently set.
>>  If you are using ~/nupic for the source code, then you should have $NUPIC
>> set to ~/nupic and $NTA set to ~/nta/eng (to match the docs or just ~/nta
>> will work too).
>>
>> Hope this helps,
>>
>> Matt
>>
>> On Apr 4, 2014, at 4:45 AM, Marcos Romero <[email protected]> wrote:
>>
>> Thanks for the help but the problem persist. I follow your instruction
>> but not working for me.
>>
>> marcos@ubuntu:~$ cd nupic
>> marcos@ubuntu:~/nupic$ mkdir -p build_system
>> marcos@ubuntu:~/nupic$ cd build_system/
>> marcos@ubuntu:~/nupic/build_system$ cmake ..
>> CMake Error at CMakeLists.txt:181 (message):
>>   $NTA environment variable cannot be the same as the $NUPIC environment
>>   variable!
>>
>>
>> -- Configuring incomplete, errors occurred!
>>
>> Sorry if it's obvious but not for me.
>>
>> 2014-04-02 22:12 GMT+02:00 Matt Keith <[email protected]>:
>>
>>>
>>> Marcos,
>>>
>>> You need to make sure that you pass the correct path to the nupic code
>>> base to the cmake command.  If you clone the nupic repo to ~/nupic, then
>>> you would usually create the ~/nupic/build_system directory, cd into
>>> ~/nupic/build_system and then issue the 'cmake ..' command to generate the
>>> makefile.  Once that has completed, you can issue the 'make' (or 'make
>>> -j3') command to build the project.
>>>
>>> _______________________________________________
>> nupic mailing list
>> [email protected]
>> http://lists.numenta.org/mailman/listinfo/nupic_lists.numenta.org
>>
>>
>>
>> _______________________________________________
>> nupic mailing list
>> [email protected]
>> http://lists.numenta.org/mailman/listinfo/nupic_lists.numenta.org
>>
>>
>
_______________________________________________
nupic mailing list
[email protected]
http://lists.numenta.org/mailman/listinfo/nupic_lists.numenta.org

Reply via email to