Cannot install nupic on my virtualenv

installation

#1

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


#2

Looks like the errors you’ve provided are not enough to debug your issue. Please provide information on how you have tried to install nupic. I would suggest post the steps from creating your virtualenv up to installing your nupic, until the point where you got the errors, please show the commands and the error log.


#3

Hi Jose.

Thank you. The problem have been solved, it can run in my environment.


#4

Did you find out what the problem was? Maybe you can share in case someone else has the same issue. :smiley: