The `--boxed` CLI option is specific to pytest-xdist, one of the required python modules documented in https://github.com/numenta/nupic/blob/master/external/common/requirements.txt#L10 .
Re: #2 Are you possibly setting the NUPIC and NTA environment variables to the same directory? On Mon, Nov 25, 2013 at 5:51 AM, Appan Ponnappan <[email protected]>wrote: > I encountered a few errors while building the files checked-out for nupic > git repo master branch on OSX mavericks (10.9). I did only command-line > build & test and did not use Xcode IDE. > > I have listed the steps below assuming that it will help others in > repeating it: > 1. Patch the following files: > A. nupic/bin/run_tests.py: because pytest-2.4.2 does not have boxed option > 151c150 > < args = ["--verbose"] > --- > > args = ["--boxed", "--verbose"] > > B. nupic/build_system/post_build/files_to_copy.txt: because copy between > same directories causes problems, so comment them out: > 30c30 > < # tests tests > --- > > tests tests > 32,33c32,33 > < #bin/run_tests.py bin/run_tests.py > < #bin/run_swarm.py bin/run_swarm.py > --- > > bin/run_tests.py bin/run_tests.py > > bin/run_swarm.py bin/run_swarm.py > 37,39c37,39 > < #conf/default/nupic-default.xml conf/default/nupic-default.xml > < #conf/default/nupic-logging.conf conf/default/nupic-logging.conf > < #env.sh env.sh > --- > > conf/default/nupic-default.xml conf/default/nupic-default.xml > > conf/default/nupic-logging.conf conf/default/nupic-logging.conf > > env.sh env.sh > 49c49 > < #build_system build_system > --- > > build_system build_system > > C. nupic//build_system/unix/configure.ac: Mac 10.9 does not output the > full path to the Python lib. Until 10.8 it was ok I guess. I hard-coded > what is the correct full-path as follows: > 126,127c126 > < #nta_platform_python_libs=`python${PYTHON_VERSION}-config > --ldflags` > < > nta_platform_python_libs="-L/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/config > -ldl -framework CoreFoundation -lpython2.7 -u _PyMac_Error > /Library/Frameworks/Python.framework/Versions/2.7/Python" > --- > > nta_platform_python_libs=`python${PYTHON_VERSION}-config > --ldflags` > > 2. Set BUILDDIR=~/tmp/nupic and invoke ./build.sh > > 3. Once, build completes successfully, install the required python modules > as in nupic/external/common/requirements.txt: > > 4. Set env. variables before running tests: > PYTHONPATH=~/nta/eng/lib/python2.7/site-packages > NTA_CONF_DIR=./conf/default > > 5. ./run_tests.sh should complete all the tests successfully except for 11 > tests which are SKIPPED, not sure for what reason !! > > Hope this helps. > > > > _______________________________________________ > 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
