Ubuntu18.04 Installing a CONDA environment

tags: python  Depth study  pytorch

The installation of Conda is recommended for installation using methods installing anaconda.
Installation Date: November 24, 2020

Download installation package

Anaconda historical version
If you download Anaconda directly on the official website. Get the latest version of Anaconda or Python3.8 version of Anaconda, (in this way without the latest version), by accessing the above address, you can download the historical version of Anaconda, I am using anaconda3-2019.07-linux-x86_64 .SH.

Install Anaconda

Enter anaconda path, run

bash Anaconda3-2019.07-Linux-x86_64.sh

After that, Changan carries back and fully input yes.

CONDA source

conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/
conda config --set show_channel_urls yes

Conda operation

  1. Environment
    conda create -n [name] python=[version]
    
  2. Activate the environment
    conda activate [name]
    
  3. Shut down the environment
    conda deactivate
    
  4. Package operation
    # View installed packages
    conda list
    # Install a Package
    conda install [package]
    #  
    conda remove [package]
    # Update a package
    conda update [package]
    
    # Update Conda, keep Conda latest
    conda update conda
    
  5. Delete the environment
    conda remove -n [name] --all
    

Intelligent Recommendation

Various techniques for installing a CONDA environment and packages

Skills list Query existing Conda environments Create a CONDA new environment Delete CONDA environments Rename the CONDA environment CONDA environment transplant between different computers Some techni...

In the Conda virtual environment, the precautions for installing the PDFTOTEXT tool

Installing anaconda's virtual environment in advance, of course, can also be used. Envname is your own name, Python version is customized. After installing the dependence of PDFTTEXT, you can install ...

Conda Environment Installing Pytorch's Cuda Version

Create a CONDA environment Activate the environment Check if there is a correct switching environment: Install Pytorch test Installation is complete, find a code test:...

[Environmental Configuration] Installing CUDA in the Conda Virtual Environment

In the CONDA environment created in Linux, different virtual environments can be installed different CUDAs do not affect. This can adapt to different depth learning environments. The order is as follo...

Installing Python virtual environment virtualenvwrapper under ubuntu18.04

Blog link: virtualenv installation environment: Use the virtual environment to install python package, the package to avoid confusion and conflict version, the virtual environment is a copy of the Pyt...

More Recommendation

A detailed tutorial on installing qt5.12.8 and environment configuration on ubuntu18.04

This article mainly introduces the tutorial of installing qt5.12.8 and environment configuration on ubuntu18.04. This article introduces you in detail through pictures and texts. It has a certain refe...

Ubuntu18.04 + cuda10.1 + opencv3.4.12 + python2.7 Environment Installing Caffe

Several premise Confirm that you have successfully installed NVIDIA Driver, Cuda, Cudnn on your own machine Detailed steps can be referred to beforeInstallation Notes Description According to the offi...

Ubuntu18.04 Configuring Depth Learning Environment - Installing CUDA

First, install NVIDIA graphics card Install the NVIDIA graphics card directly in the Ubuntu graphical interface, no need to view the NVIDIA official website, do not need to install the PPA source, do ...

Ubuntu18.04 Installing and configuring ORB_SLAM2 (non-ROS environment)

First, install tool Note If you are a virtual machinery, you must learn to use the snapshot function, it is useful! Install CMAKE, GIT, GCC, G ++ Enter the following code in the terminal Second, insta...

pytorch deep learning conda environment construction under ubuntu18.04

1. Download and install anaconda Anaconda official website downloadThe latest python3.7 version anaconda,Tsinghua mirror download anaconda addressYou can download various versions including the old ve...

Copyright  DMCA © 2018-2026 - All Rights Reserved - www.programmersought.com  User Notice

Top