Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

How to enter the conda base environment under the Linux system

Shulou Source: shulou.com Published: 2022-06-02 05:35:37 10月04日 Update

This article introduces the relevant knowledge of "how to enter the conda base environment under the Linux system". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!

1. Cancel the automatic entry into conda base environment and re-enter base environment

# exit base environment: set conda auto startup to falseconda config in terminal or .bashrc file-- set auto_activate_base false# re-enter base environment source ~ / anaconda3/bin/activate

2. Conda common commands

# View the virtual environment created in the conda environment conda env list# create a new virtual environment using conda conda create-n env_name or conda create-- name env_name# activate and enter the conda environment (ubuntu and Macos need to replace conda with source) conda activate env_name# exit the conda environment conda deactivate

3. Install cupy

CuPy is an open source matrix library for NVIDIA CUDA acceleration. CuPy uses Python to provide GPU accelerated computing. CUPY uses CUDA-related libraries, including CuBLAS, CUDNN, Curand, CuoSver, CuPaSeSE, Cufft, and NCCL, to take full advantage of the GPU architecture.

# For CUDA 8.0pip install cupy-cuda80 # For CUDA 9.0pip install cupy-cuda90 # For CUDA 9.1pip install cupy-cuda91 # For CUDA 9.2pip install cupy-cuda92 # For CUDA 10.0pip install cupy-cuda100 # For CUDA 10.1pip install cupy-cuda101 # Install CuPy from sourcepip install cupy, "how to enter the conda base environment under the Linux system" ends here. Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!

Tags: Environment system content more knowledge practicality achievement next command dilemma actual common use situation file article architecture case activation matrix tape Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Apple vpn NVidia Xiaomi MariaDB