python - pip error "ValueError: ('Missing distribution spec', '==')" when installing pandas on ubuntu server -
hi started playing servers , supposed run simple script in python. script however, has dependencies, ie packages, pandas.
so decided pip install pandas == 0.14.0
kept getting error message:
exception: traceback (most recent call last): file "/root/.virtualenvs/occupy/local/lib/python2.7/site-packages/pip/basecomm status = self.run(options, args) file "/root/.virtualenvs/occupy/local/lib/python2.7/site-packages/pip/commands installrequirement.from_line(name, none)) file "/root/.virtualenvs/occupy/local/lib/python2.7/site-packages/pip/req.py", return cls(req, comes_from, url=url, prereleases=prereleases) file "/root/.virtualenvs/occupy/local/lib/python2.7/site-packages/pip/req.py", req = pkg_resources.requirement.parse(req) file "/root/.virtualenvs/occupy/local/lib/python2.7/site-packages/pip/_vendor/ reqs = list(parse_requirements(s)) file "/root/.virtualenvs/occupy/local/lib/python2.7/site-packages/pip/_vendor/ raise valueerror("missing distribution spec", line) valueerror: ('missing distribution spec', '==') storing debug log failure in /root/.pip/pip.log
and have no idea why.
can please shed light on this?
there should no spaces pip install pandas==0.14.0 # <- not pandas == 0.14.0
Comments
Post a Comment