numenta / nupic-legacy

Numenta Platform for Intelligent Computing is an implementation of Hierarchical Temporal Memory (HTM), a theory of intelligence based strictly on the neuroscience of the neocortex.
http://numenta.org/
GNU Affero General Public License v3.0
6.33k stars 1.56k forks source link

Can not install Nupic in virtualenv #3867

Closed Toon6115 closed 5 years ago

Toon6115 commented 5 years ago

I have created virtualenv for python 2 and install nupic.

It shown error "Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-zbwv_vt0/unittest2/".

Then I try to unintall nupic -y, I got "Skipping nupic as it is not installed."

I do pip uninstall nupic.bindings. -y, I got the error as follows;

Invalid requirement: 'nupic.bindings.' Traceback (most recent call last): File "/home/toon/repos/numenta_explained/numenta_explained/lib/python3.6/site-packages/pip/_vendor /packaging/requirements.py", line 93, in init req = REQUIREMENT.parseString(requirement_string) File "/home/toon/repos/numenta_explained/numenta_explained/lib/python3.6/site-packages/pip/_vendor /pyparsing.py", line 1654, in parseString raise exc File "/home/toon/repos/numenta_explained/numenta_explained/lib/python3.6/site-packages/pip/_vendor /pyparsing.py", line 1644, in parseString loc, tokens = self._parse( instring, 0 ) File "/home/toon/repos/numenta_explained/numenta_explained/lib/python3.6/site-packages/pip/_vendor /pyparsing.py", line 1402, in _parseNoCache loc,tokens = self.parseImpl( instring, preloc, doActions ) File "/home/toon/repos/numenta_explained/numenta_explained/lib/python3.6/site-packages/pip/_vendor /pyparsing.py", line 3417, in parseImpl loc, exprtokens = e._parse( instring, loc, doActions ) File "/home/toon/repos/numenta_explained/numenta_explained/lib/python3.6/site-packages/pip/_vendor /pyparsing.py", line 1406, in _parseNoCache loc,tokens = self.parseImpl( instring, preloc, doActions ) File "/home/toon/repos/numenta_explained/numenta_explained/lib/python3.6/site-packages/pip/_vendor /pyparsing.py", line 3205, in parseImpl raise ParseException(instring, loc, self.errmsg, self) pip._vendor.pyparsing.ParseException: Expected stringEnd (at char 14), (line:1, col:15)

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/home/toon/repos/numenta_explained/numenta_explained/lib/python3.6/site-packages/pip/_intern al/req/constructors.py", line 253, in install_req_from_line req = Requirement(req) File "/home/toon/repos/numenta_explained/numenta_explained/lib/python3.6/site-packages/pip/_vendor /packaging/requirements.py", line 96, in init requirement_string[e.loc:e.loc + 8], e.msg pip._vendor.packaging.requirements.InvalidRequirement: Parse error at "'.'": Expected stringEnd

What should I do next? Thank you

rhyolight commented 5 years ago

Please continue on HTM Forum.