Quickly Change Conda Env With Fzf
Changing conda environments is a bit verbose, I use a function with fzf that
both lists environments and selects the one I want in one go.
Conda # [1]
I have used conda as a virtual environment [2] tool for years now. I started using
conda for its simplicity to install packages on windows, but now that has
gotten so much better and it’s been years since I have run a conda install
command. I’m sure that I could use a different environment manager, but it
works for me and makes sense.
What environment manager do you use for python?
Conda environments are stored in a central location such as
~/miniconda3/envs/ and not with the project. They contain both the python
interpreter and packages for that env.
Conda create # [3]
Conda environments are created with the conda create command. At this point,
you will need to name your env and select the python version.
conda create -n my_env python=3.8
After running this command you will have a directory ~/miniconda3/envs/my_env
with a base...