[PYTHON] Build an Anaconda virtual environment

A python beginner aims to build the environment necessary for earth science researchers.

Uninstall & Reinstall

Reinstall according to this article. https://qiita.com/opankopan/items/5171116b1727c3907e86

This time I installed ** python3.7 **. (Because python-cdo doesn't support python3.8 yet.) https://repo.anaconda.com/archive/Anaconda3-2020.02-Linux-x86_64.sh

Reset the PATH.

~/.bashrc


export PATH=/home/[myname]/local/anaconda3/bin:${PATH}

Building a virtual environment

python


conda create -n [name] python=3.7.4

Switching the environment

python


conda activate [name] #Start-up
conda deactivate #End

If you want to change your name https://qiita.com/TyaoiB/items/b858430c289767cb04be

Introduced package

Package introduced by conda

If you install with conda install -c conda-forge, it will find a suitable version. If you add the option -y, it will be installed at once.

Package introduced with pip

Introduction of basemap

I followed the following. https://www.iwass.co.jp/column/column-12.html

Recommended Posts

Build an Anaconda virtual environment
Creating a virtual environment in an Anaconda environment
For beginners to build an Anaconda environment. (Memo)
[Memo] Build a virtual environment with Pyenv + anaconda
[Anaconda] Activate the virtual environment
Build python virtual environment with virtualenv
Created an environment for Anaconda & Jupyter
[Python] Building an environment with Anaconda [Mac]
Build an environment for Blender built-in Python
[5 steps] Apply anaconda virtual environment to VScode
[Python] Create a virtual environment with Anaconda
Beginner virtual environment
I created an Anaconda environment using Docker!
Build an LNPP environment on Amazon Linux 2
Build Python environment with Anaconda on Mac
Build a python virtual environment with pyenv
Call anaconda virtual environment from ubuntu terminal memorandum
Building an Anaconda environment for Python with pyenv
Build a simple Python virtual environment without pyenv
Build a virtual environment with pyenv and venv
[Node-RED] Execute Python on Anaconda virtual environment from Node-RED [Anaconda] [Python]
Flow of creating a virtual environment with Anaconda
From Python environment construction to virtual environment construction with anaconda
Error running Jupyter Notebook in Anaconda virtual environment
Build an Arch Linux environment on Raspberry Pi
Use anaconda virtual environment with Zsh (problem fix)
How to build an environment when you want to use python2.7 after installing Anaconda3
python virtual environment Pipenv
virtual environment in python
Anaconda3 environment installation procedure
Anaconda environment construction memo
PyTorch introduction (virtual environment)
Virtual environment with Python 3.6
Build an OpenCV4 environment on Raspberry Pi using Poetry
Build an interactive environment for machine learning in Python
Build a python virtual environment with virtualenv and virtualenvwrapper
Create a virtual environment with Anaconda installed via Pyenv
[Linux] WSL2 Build an environment for laravel7 with Ubuntu 20.04
Build a Python virtual environment using venv (Django + MySQL ①)
Build a python virtual environment with virtualenv and virtualenvwrapper
Double-click to open ipynb file (Mac, Anaconda virtual environment)
Command line collection for using virtual environment in Anaconda
Notes on creating a virtual environment with Anaconda Navigator
Build a Django environment for Win10 (with virtual space)
Python + Anaconda + Pycharm environment construction
How to build Anaconda virtual environment used in Azure Machine Learning and link with Jupyter
Build an environment for machine learning using Python on MacOSX
Use Anaconda in pyenv environment
How to build a new python virtual environment on Ubuntu
Install Python environment with Anaconda
Add an extension to build a more comfortable Jupyter environment
Anaconda environment construction on CentOS7
[Python] Anaconda environment construction (installation, startup, virtual environment, package management) Mac environment
Build an Ubuntu python development environment on Google Cloud Platform
Introduced Tensorflow (Win / Anaconda environment)
Build a LAMP environment [CentOS 7]
Introducing Kaggle's Docker Image on Windows to build an environment
Build python3 environment with ubuntu 16.04
Anaconda3 python environment construction procedure
Build an environment on windows10 where you can try MXNet
Build Python environment on Windows