I still don't understand the error "No module named site". The python site module [1] is supposedly "automatically imported during initialization". So if this module isn't loading, doesn't this mean there is a problem with the python environment, not pip, not nupic?
[1] https://docs.python.org/2/library/site.html --------- Matt Taylor OS Community Flag-Bearer Numenta On Tue, Apr 29, 2014 at 8:19 AM, Roos, Matthew J. <[email protected]> wrote: > Austin, thanks for the tips. Unfortunately I¹m still having trouble. > I¹ve tried setting the environment variables to either my Anaconda > installation or that in the nupic-darwin64 repo. See my emails on ³python > problems² for a little more info. I wanted to follow your instructions > below but I don¹t know where deactivate_nupic is and $NUPIC_ENV is not > defined. > > The primary error that has cropped up several times refers to a ³module > named site.² > > bash-3.2$ make tests_pyhtm > [100%] Basic tests in Python > Creating network... > Region count is 0 > Adding a PyNode region... > ImportError: No module named site > make[3]: *** [CMakeFiles/tests_pyhtm] Error 1 > make[2]: *** [CMakeFiles/tests_pyhtm.dir/all] Error 2 > make[1]: *** [CMakeFiles/tests_pyhtm.dir/rule] Error 2 > make: *** [tests_pyhtm] Error 2 > > On, and I was getting an error about $PYTHONHOME, which I tried setting to > either $NTA/lib or /Applications/anaconda/lib. Both quieted the error > message but I¹m not sure I¹m setting the variable correctly. > > > > > -- > Matthew J. Roos, Ph.D. > Applied Neuroscience Section > Johns Hopkins University Applied Physics Laboratory > Phone: 443-778-3560 / 240-228-3560 > > > > > On 4/24/14, 12:00 PM, "[email protected]" > <[email protected]> wrote: >> >> >>---------------------------------------------------------------------- >> >>Message: 1 >>Date: Wed, 23 Apr 2014 14:34:16 -0700 >>From: Austin Marshall <[email protected]> >>To: "NuPIC general mailing list." <[email protected]> >>Subject: Re: [nupic-discuss] NuPic install difficulty >>Message-ID: >> <caelyfhzeuux9rkk9-3h1pbbeg-0apjcz1tgtyd4d5s7p_hq...@mail.gmail.com> >>Content-Type: text/plain; charset="utf-8" >> >>I can provide some insight into the confusion. The nupic-darwin64 >>repository is a collection of pre-compiled python dependencies for OS X, >>along with some scripts to prepend the dependencies to your environment. >> Up until very recently, the master branch of >>https://github.com/numenta/nupic-darwin64 was out of date, and built >>specifically for python 2.6. Meanwhile, the build process has changed >>from >>build.sh, which no longer exists, to one that is CMake-based. The >>python-2.7 branch was recently updated, and so I just merged it into >>master. >> >>That said, if you're running Anaconda, you don't technically need >>nupic-darwin64, and can bypass those instructions. But, you may want to >>try again now that it's been updated. You should be able to pull in the >>latest, run the activate script, and move forward with building nupic: >> >> cd $NUPIC_ENV >> deactivate_nupic >> git reset --hard >> git clean -fd >> git pull origin master >> source bin/activate >> cd $NUPIC >> mkdir -p build/scripts >> cd build/scripts >> rm -rf * >> rm -rf $BUILDDIR >> cmake $NUPIC >> make -j3 >> >> > > > _______________________________________________ > 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
