That PYTHONPATH looks suspicious. The pattern normally only includes the MAJOR and MINOR components. I would have expected to see:
export PYTHONPATH=$PYTHONPATH:$NTA/lib/python2.7/site-packages at It's possible that the nupic python package is being installed to $NTA/ lib/python2.7/site-packages but you don't see it at runtime because the PYTHONPATH is wrong. Maybe change your PYTHONPATH and try again? On Wed, Apr 16, 2014 at 2:53 PM, Julie Pitt <[email protected]> wrote: > OK, after following the instructions in the README ( > https://github.com/numenta/nupic), I now have the following in my bash > profile: > > export NUPIC=~/github/nupic > export NTA=$NUPIC/build/release > export NTA_ROOTDIR=$NTA > export PYTHONPATH=$PYTHONPATH:$NTA/lib/python2.7.5/site-packages > > I then ran the build by doing the following (NOTE: the instructions said > to run make from $NUPIC/build/scripts, but I found I could only run it from > $NUPIC): > > mkdir -p $NUPIC/build/scripts > cd $NUPIC/build/scripts > cmake $NUPIC > cd ../.. > make -j3 > > I noticed that some files during cmake were copied to > $NUPIC/*nta*/build/release, > which does not match the value of $NTA in the instructions. Perhaps this > could be the problem? The run_swarm.py script is no longer found in my > $PATH like it used to be, and when I run it from $NUPIC/bin/run_swarm.py, I > get this, which smells like a config issue to me. > > $ $NUPIC/bin/run_swarm.py search_def.json > Traceback (most recent call last): > File "/Users/julie/github/nupic/bin/run_swarm.py", line 30, in <module> > from nupic.swarming import permutations_runner > ImportError: No module named nupic.swarming > > What am I doing wrong? > > > On Wed, Apr 16, 2014 at 1:49 PM, Chetan Surpur <[email protected]> wrote: > >> NuPIC now uses an updated build process that removes env.sh. Please >> update your NuPIC repo and see the README for build details. >> >> >> On Wed, Apr 16, 2014 at 1:47 PM, Julie Pitt <[email protected]> wrote: >> >>> I'm sure there was a thread about this that I missed. What happened to >>> env.sh? I pulled the latest off of nupic and now it's gone. My bash profile >>> has: >>> >>> >>> # Target source/repo path (where you cloned the repo). Defaults to $PWD >>> export NUPIC=~/github/nupic >>> # NTA installation path >>> export NTA=$NUPIC/nta/eng >>> # 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 >>> >>> I'm sure this is out of date. Can someone tell me how? >>> >>> Also, I see lots of back-and-forth about the nupic.core extraction. At >>> what point do I need to start pulling down that repo and building it? Is >>> everything still possible with nupic alone? >>> >>> Thanks! >>> Julie >>> >>> _______________________________________________ >>> 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 > >
_______________________________________________ nupic mailing list [email protected] http://lists.numenta.org/mailman/listinfo/nupic_lists.numenta.org
