install - Assertion error from 'pip list' in virtualenv. -


pip list throwing assertion error , i'm not sure how resolve. has happened after building 2 packages (pyublas-2013.1 , boost_1_54_0) source. using virtualenv.

error below;

(virtenv)[user@xyz ~]$ pip list beautifulsoup4 (4.2.1) biopython (1.61) distribute (0.6.35) methylpy (0.1.0) mysql-python (1.2.4) numpy (1.7.1) pip (1.4) py (1.4.15) pytest (2.3.5) pyublas (2013.1) exception: traceback (most recent call last):   file "/home/user/virtenv/lib/python2.7/site-packages/pip/basecommand.py", line 134, in main     status = self.run(options, args)   file "/home/user/virtenv/lib/python2.7/site-packages/pip/commands/list.py", line 80, in run     self.run_listing(options)   file "/home/user/virtenv/lib/python2.7/site-packages/pip/commands/list.py", line 127, in run_listing     self.output_package_listing(installed_packages)   file "/home/user/virtenv/lib/python2.7/site-packages/pip/commands/list.py", line 136, in output_package_listing     if dist_is_editable(dist):   file "/home/user/virtenv/lib/python2.7/site-packages/pip/util.py", line 347, in dist_is_editable     req = frozenrequirement.from_dist(dist, [])   file "/home/user/virtenv/lib/python2.7/site-packages/pip/__init__.py", line 194, in from_dist     assert len(specs) == 1 , specs[0][0] == '==' assertionerror 

can me troubleshoot???

thanks,

i think because distribute package out of date. following fixed me:

pip install --upgrade distribute 

Comments

Popular posts from this blog

PySide and Qt Properties: Connecting signals from Python to QML -

c# - DevExpress.Wpf.Grid.InfiniteGridSizeException was unhandled -

scala - 'wrong top statement declaration' when using slick in IntelliJ -