Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to enter the conda base environment under the Linux system

2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

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!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report