easy_install with pypy while Python is installed

社会主义新天地 提交于 2019-12-03 12:45:51
Julien Chappuis

You need to install easy_install for pypy manually.

It's explained in the answer to this question : Installing Python eggs under PyPy

An alternative solution is to install pip. Following the instructions in pip's documentation:

wget https://bootstrap.pypa.io/get-pip.py
pypy get-pip.py
pypy -m pip install ipython

At least this worked for me:

$ brew install pypy
$ pypy -m easy_install ipython

$ /usr/local/share/pypy/ipython
Python 2.7.3 (480845e6b1dd, Jul 31 2013, 10:58:28)
Type "copyright", "credits" or "license" for more information.

IPython 1.1.0 -- An enhanced Interactive Python.
?         -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help      -> Python's own help system.
object?   -> Details about 'object', use 'object??' for extra details.
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!