Installation fails with old pip

32 views
Skip to first unread message

Anatoly Scherbakov

unread,
Feb 27, 2015, 2:07:57 AM2/27/15
to mem...@googlegroups.com
Hello.

An outdated pip (I had 1.4.1) on python 2.7 might fail installing memprof with the following message:

Installed venv/lib/python2.7/site-packages/Cython-0.22-py2.7-linux-x86_64.egg
Processing dependencies for Cython
Finished processing dependencies for Cython
Traceback (most recent call last):
 
File "<string>", line 16, in <module>
 
File "venv/build/memprof/setup.py", line 38, in <module>
   
class md_easy_install(easy_install):
TypeError: Error when calling the metaclass bases
   
module.__init__() takes at most 2 arguments (3 given)
----------------------------------------
Cleaning up...


Fix is to update pip saying

pip install -U pip

Thank you for the great library!

J.M. Dana

unread,
Feb 27, 2015, 7:30:24 AM2/27/15
to mem...@googlegroups.com
Hello Anatoly,

The setuptools/easy_install/pip ecosystem is a bit of a nightmare.

You can also find memprof in many Linux distributions (Arch, Debian,
Ubuntu, etc.) and macports. It should be easier to install from there
;-)

Thanks for your feedback, it will help others.
Jose.
> --
> http://jmdana.github.io/memprof/
> http://github.com/jmdana/memprof
> ---
> You received this message because you are subscribed to the Google Groups "memprof" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to memprof+u...@googlegroups.com.
> To post to this group, send email to mem...@googlegroups.com.
> Visit this group at http://groups.google.com/group/memprof.
> To view this discussion on the web visit https://groups.google.com/d/msgid/memprof/68a06a16-76e6-4599-9154-4a7cda7f5c66%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages