easy_install with pypy while Python is installed

后端 未结 3 1533
春和景丽
春和景丽 2021-02-15 13:32

I installed PyPy while still having Python 2.7 on my system.

  • How do I install and then use easy_install with PyPy?
  • What is the syntax for dis
相关标签:
3条回答
  • 2021-02-15 13:48

    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
    
    0 讨论(0)
  • 2021-02-15 14:05

    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.
    
    0 讨论(0)
  • 2021-02-15 14:07

    You need to install easy_install for pypy manually.

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

    0 讨论(0)
提交回复
热议问题