It's almost as if you're build.sh is from a recent version, while the requirements.txt file is older. pytest 2.4.0.dev8 is from when we previously bundled the python dependencies, including a version of pytest that hadn't officially been released at the time. At the time, build.sh would have had the necessary pip flags to install it.
Now, build.sh no longer attempts to install anything with pip. Instead, it's expected that the user will have installed the dependencies in advance from requirements.txt, which also no longer references 2.4.0.dev8. On Fri, Nov 15, 2013 at 7:34 AM, Marek Otahal <[email protected]> wrote: > PS: this is weird, did you update to latest master? (git pull) ? current > version of pytestin my requirements is 2.4.2 > > Cheers, > > > On Fri, Nov 15, 2013 at 4:31 PM, Marek Otahal <[email protected]>wrote: > >> Downloading/unpacking pytest==2.4.0.dev8 (from -r >> external/common/requirements. >> txt (line 9)) >> Could not find a version that satisfies the requirement >> pytest==2.4.0.dev8 (from -r external/common/requirements.txt (line 9)) >> (from versions: 2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.1.0, 2.1.1, 2.1.2, 2.1.3, >> 2.2.0, 2.2.1, 2.2.2, 2.2.3, 2.2.4, 2.3.0, 2.3.1, 2.3.2, 2.3.3, 2.3.4, >> 2.3.5, 2.4.0, 2.4.1, 2.4.2) >> Cleaning up... >> No distributions matching the version for pytest==2.4.0.dev8 (from -r >> external/common/requirements.txt (line 9)) >> Storing complete log in /Users/Hajj/Library/Logs/pip.log >> >> >> change the line in requirements.txt to either 2.4.0 or 2.4.1 version, >> >> >> On Fri, Nov 15, 2013 at 4:28 PM, Nicholas Mitri <[email protected]>wrote: >> >>> Hey all, >>> >>> I’ve been trying to get everything built for the last few days but keep >>> getting stuck on the dependencies. >>> Build.sh is going fine. The c++ tests are all working. The py tests on >>> the other hand are failing. >>> I’m attaching the output of the pytest, the gym example, and the pip >>> requirement installation in order. >>> Sorry for the lengthy post. I’d appreciate any help to get this up and >>> running. >>> >>> regards, >>> Nicholas >>> >>> >>> ———LOGS——— >>> >>> usage: run_tests.py [options] [file_or_dir] [file_or_dir] [...] >>> run_tests.py: error: unrecognized arguments: --boxed >>> >>> —————— >>> >>> Traceback (most recent call last): >>> File >>> "/Users/Hajj/Software/NUPIC/examples/opf/bin/OpfRunExperiment.py", line 29, >>> in <module> >>> from nupic.frameworks.opf.experiment_runner import (runExperiment, >>> File >>> "/Users/Hajj/nta/eng/lib/python2.6/site-packages/nupic/frameworks/opf/experiment_runner.py", >>> line 37, in <module> >>> from nupic.data import jsonhelpers >>> File >>> "/Users/Hajj/nta/eng/lib/python2.6/site-packages/nupic/data/jsonhelpers.py", >>> line 42, in <module> >>> import validictory >>> ImportError: No module named validictory >>> >>> —————— >>> >>> Downloading/unpacking asteval==0.9.1 (from -r >>> external/common/requirements.txt (line 3)) >>> Downloading asteval-0.9.1.tar.gz >>> Running setup.py egg_info for package asteval >>> warning: no files found matching 'README.txt' >>> warning: no previously-included files found matching '*.pyc' >>> warning: no previously-included files found matching 'core.*' >>> warning: no previously-included files found matching '*~' >>> warning: no previously-included files found matching '*.pdf' >>> warning: no previously-included files matching '*' found under >>> directory 'doc/_build' >>> warning: no previously-included files matching '*.pdf' found under >>> directory 'doc' >>> Downloading/unpacking mock==1.0.1 (from -r >>> external/common/requirements.txt (line 4)) >>> Running setup.py egg_info for package mock >>> warning: no files found matching '*.png' under directory 'docs' >>> warning: no files found matching '*.css' under directory 'docs' >>> warning: no files found matching '*.html' under directory 'docs' >>> warning: no files found matching '*.js' under directory 'docs' >>> Downloading/unpacking ordereddict==1.1 (from -r >>> external/common/requirements.txt (line 5)) >>> Downloading ordereddict-1.1.tar.gz >>> Running setup.py egg_info for package ordereddict >>> Downloading/unpacking PIL==1.1.7 (from -r >>> external/common/requirements.txt (line 6)) >>> You are installing a potentially insecure and unverifiable file. >>> Future versions of pip will default to disallowing insecure files. >>> Running setup.py egg_info for package PIL >>> WARNING: '' not a valid package name; please use only.-separated >>> package names in setup.py >>> Downloading/unpacking psutil==1.0.1 (from -r >>> external/common/requirements.txt (line 7)) >>> You are installing an externally hosted file. Future versions of pip >>> will default to disallowing externally hosted files. >>> You are installing a potentially insecure and unverifiable file. >>> Future versions of pip will default to disallowing insecure files. >>> Running setup.py egg_info for package psutil >>> Downloading/unpacking pylint==0.28.0 (from -r >>> external/common/requirements.txt (line 8)) >>> Running setup.py egg_info for package pylint >>> Downloading/unpacking pytest==2.4.0.dev8 (from -r >>> external/common/requirements.txt (line 9)) >>> Could not find a version that satisfies the requirement >>> pytest==2.4.0.dev8 (from -r external/common/requirements.txt (line 9)) >>> (from versions: 2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.1.0, 2.1.1, 2.1.2, 2.1.3, >>> 2.2.0, 2.2.1, 2.2.2, 2.2.3, 2.2.4, 2.3.0, 2.3.1, 2.3.2, 2.3.3, 2.3.4, >>> 2.3.5, 2.4.0, 2.4.1, 2.4.2) >>> Cleaning up... >>> No distributions matching the version for pytest==2.4.0.dev8 (from -r >>> external/common/requirements.txt (line 9)) >>> Storing complete log in /Users/Hajj/Library/Logs/pip.log >>> >>> ———END LOGS——— >>> _______________________________________________ >>> nupic mailing list >>> [email protected] >>> http://lists.numenta.org/mailman/listinfo/nupic_lists.numenta.org >>> >> >> >> >> -- >> Marek Otahal :o) >> > > > > -- > Marek Otahal :o) > > _______________________________________________ > 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
