How to create a Conda environment that uses PyPy?

前端 未结 4 1768
夕颜
夕颜 2021-02-13 22:50

So here is my issue. I\'ve managed to install PyPy using conda with the following command:

conda install -c conda-forge pypy3.5

Unfortunately,

4条回答
  •  灰色年华
    2021-02-13 23:28

    Might not achieve exactly what you want, but here's what i've done:

    Make a new conda env

    conda create --name pypy_env
    conda activate pypy_env
    

    Install pypy3 using conda

    conda install pypy3
    

    Get Pip for pypy3 using the method here Install pip on pypy

    Install packages for pypy using

    pypy3 -m pip install 
    

    For some packages it's eaiser to use the pre-built pypy wheel files, some you can find here https://www.lfd.uci.edu/~gohlke/pythonlibs/

提交回复
热议问题