Hi Manish,

You can run that command anywhere. It just executes your .bashrc file in your home directory to make sure your PYTHON_PATH includes the Nupic library. I guess the new error is due to that you probably haven't installed all Python requirements. You can follow the instruction from the github Nupic page to install all Python requirements as followed:

Complete set of python requirements are documented in requirements.txt <https://github.com/numenta/nupic/blob/master/external/common/requirements.txt>, compatible with pip <http://www.pip-installer.org/en/latest/cookbook.html#requirements-files>:

|pip install -r external/common/requirements.txt


Vinh
|



On Monday 09,December,2013 03:01 PM, Manish Bhattarai wrote:
hello Vinh,
Thanks for the reply. Where did you want me to run source ~/.bashrc. i ran it on the terminal. nothing happened. i also ran export PYTHONPATH =$PYATHONPATH:/home/manish/nta. i still get import error for validictory module..

manish@manish-pc:/nupic/examples/opf/bin$ python OpfRunExperiment.pyTraceback (most recent call last):
  File "OpfRunExperiment.py", line 29, in <module>
    from nupic.frameworks.opf.experiment_runner import (runExperiment,
File "/home/manish/nta/eng/lib/python2.7/site-packages/nupic/frameworks/opf/experiment_runner.py", line 37, in <module>
    from nupic.data import jsonhelpers
File "/home/manish/nta/eng/lib/python2.7/site-packages/nupic/data/jsonhelpers.py", line 42, in <module>
    import validictory
ImportError: No module named validictory

by bashrc contains

# Installation path
 export NTA=$HOME/nta/eng
 # Target source/repo path. Defaults to $PWD
 # Don't forget change the /PATH/
 export NUPIC=/nupic/
 # Convenience variable for temporary build files
 export BUILDDIR=/tmp/ntabuild
 # Number of jobs to run in parallel (optional)
 export MK_JOBS=3

 # Set up the rest of the necessary env variables. Must be done after
 # setting $NTA.
 source $NUPIC/env.sh

thanks..



_______________________________________________
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