If the conda environment is strange, let's put it back in mac

Occasionally the conda environment is destroyed. I don't have time to follow it in detail, so I put it back in and solved it. If you don't like the crowded environment, re-enter it.

See the status of conda

conda info --e

Erase the conda environment

source deactivate
conda remove --name py27 --all
conda remove --name py35 --all

View the status of pyenv

pyenv versions

Erase the pyenv environment

pyenv uninstall miniconda3-4.0.5
pip uninstall conda

Put pyenv and conda

pyenv install miniconda3-4.0.5
conda create -n py27 python=2.7
conda create -n py35 python=3.5
source activate py35

moved

I didn't get opencv until a while ago. Sometimes the environment is edited because of the library, so you can re-insert it.

スクリーンショット 2017-05-11 21.06.14.png

enjoy your python life!!!

Recommended Posts

If the conda environment is strange, let's put it back in mac
Check if it is Unix in the scripting language
Check if it is Unix in the scripting language
Delete a particular character in Python if it is the last
Django ~ Let's display it in the browser ~
Precautions when installing packages in the conda environment
In bash, "Delete the file if it exists".
Let's erase the unintended (base) that appears in the terminal [Get out of the Conda environment]
Determine if an attribute is defined in the object
Let's add it to the environment variable from the command ~
If you want to put an argument in the closure function and execute it later
[Short note] In matplotlib, nothing is displayed even if I show it → Check the backend setting
In the python dictionary, if a non-existent key is accessed, initialize it with an arbitrary value
How is the progress? Let's get on with the boom ?? in Python
Check if the configuration file is read in an easy-to-understand manner
[Golang] Check if a specific character string is included in the character string
[Python] How to save the installed package and install it in a new environment at once Mac environment