Home > Enterprise >  Conda create virtual environtment with pypy as interpreter in VSCode
Conda create virtual environtment with pypy as interpreter in VSCode

Time:06-20

I have successfully installed conda and pypy because of this previous question, I'm using VSCode as text editor. Yes I can use pypy but it seems installed for global environtment instead of virtual environtment. I want use pypy in virtual environtment with conda so the package will insttalled locally instead of globally.

The tutor I saw in previous stackoverflow will created virtual environtment with common python interpreter instead of pypy.

CodePudding user response:

You can create a conda environment first:

conda create -n pypy3 -c conda-forge pypy3.5

Afterwards you have to link to the pypy3 interpreter within the bin directory of the env:

ln -s pypy3 python
  • Related