anconda对python环境的搭建细节
2021/12/12 22:19:42
本文主要是介绍anconda对python环境的搭建细节,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!
一、创建一个 python为3.8.10的 环境 名称为 AIWangZhe
conda create --name AIWangZhe python=3.8.10
//激活 AIWangZhe环境
conda activate AIWangZhe
二、安装 其他各种环境包的细节
1、安装 pytorch(CPU)版本
官网:https://pytorch.org/
conda install pytorch torchvision torchaudio cpuonly -c pytorch
2、import cv2 报错解决办法
pip install opencv-python
这篇关于anconda对python环境的搭建细节的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!
- 2024-05-08有遇到过吗?同样的规则 Excel 中 比Python 结果大
- 2024-03-30开始python成长之路
- 2024-03-29python optparse
- 2024-03-29python map 函数
- 2024-03-20invalid format specifier python
- 2024-03-18pool.map python
- 2024-03-18threads in python
- 2024-03-14python Ai 应用开发基础训练,字符串,字典,文件
- 2024-03-13id3 algorithm python
- 2024-03-13sum array elements python