当前位置: 首页 > news >正文

南京市建设档案馆网站莱芜雪野湖简介

南京市建设档案馆网站,莱芜雪野湖简介,怎么做提货网站,seo站长之家Miniconda 和 Conda 都是用于管理 Python(及其他语言)环境和包的工具。 conda对于我来说是太臃肿了,很多的包我不会使用,所以选择安装miniconda是一个较好的选择。 下面是linux安装miniconda的实际操作。 在以下的网站&#xf…

Setting up the Development Environment (Part 1)-Visual Studio Code and  Anaconda | by Coursesteach | Medium

Miniconda 和 Conda 都是用于管理 Python(及其他语言)环境和包的工具。

conda对于我来说是太臃肿了,很多的包我不会使用,所以选择安装miniconda是一个较好的选择。

下面是linux安装miniconda的实际操作。

在以下的网站,选择你要安装的Miniconda的版本。

https://docs.conda.io/en/latest/miniconda.html#linux-installers

1、下载安装包Miniconda3-latest-Linux-x86_64.sh

2、把安装包上传到服务器上,这里放在 /home/software

3、安装

bash Miniconda3-latest-Linux-x86_64.sh

4、按回车

image-20240820175434688

5、按空格跳到最下面,输入yes

image-20240820175516660

6、选择安装位置,这里选择默认,直接回车,有需要可以自己输入改掉

Miniconda3 will now be installed into this location:
/root/miniconda3- Press ENTER to confirm the location
- Press CTRL-C to abort the installation
- Or specify a different location below[/root/miniconda3] >>>
PREFIX=/root/miniconda3

7、初始化 miniconda,输入 yes

installation finished. Do you wish the installer to initialize Miniconda3 by running conda init?[yes|no] [no] >>> yes

8、现在 conda 命令是找不到的,需要激活

source ~/.bashrc

激活后可以看到启动了 base 环境,conda 命令也可以用了,下一节会介绍常用 conda 命令。

9、可以设置启动时,不自动激活 base 环境

conda config --set auto_activate_base false

10、设置 conda 镜像源

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

11、设置 pip 镜像

pip config set global.index-url https://mirrors.aliyun.com/pypi/simple/
pip config set install.trusted-host mirrors.aliyun.com

12、查看 python 环境

(base) root@aa:/home/software# python
Python 3.12.4 | packaged by Anaconda, Inc. | (main, Jun 18 2024, 15:12:24) [GCC 11.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> print('hello,rs')
hello,rs
>>> exit()

可以看到默认的 python 环境是 3.12,也就是我们安装的 miniconda 的 python 版本。

http://www.yayakq.cn/news/451488/

相关文章:

  • 加强网站建设的意见上海网站制作哪家好
  • 品牌网站建设信息周浦做网站公司
  • 网站导航建设注意事项国际新闻快报
  • 长沙中建设计院网站免费wordpress主题 h5
  • 打码网站如何建设域名解析查询网
  • 国内网站做国外服务器小程序怎么开发
  • 长沙做网站大概多少钱seo引流什么意思
  • 网站可以几个服务器wordpress主题工具
  • 微网站 html5cms免费建站系统
  • 做影视网站需要境外西安网站建设怎么接单
  • 上海外贸网站设计道滘镇网站仿做
  • 360免费建站官网入口找南昌网站开发公司电话
  • php 电子商务网站建设网站 网页制作
  • 西餐甜点网站建设a站是什么
  • 想要给网站投稿如何做wordpress接入熊掌号
  • 网站建设 自己的服务器龙岩招聘求职网站有哪些
  • 有没有做网站的高手网站论坛建设步骤
  • 济南手机网站建设公司哪家好wordpress 3.0.1 漏洞
  • 评论回复网站怎么做南通网站建设空间
  • 电子商务网站网络推广方式怎样在网站上做免费的网业
  • 中国黄金集团建设有限公司官方网站做跨境电商的网站
  • 漫画交流网站怎么做职业培训机构排名
  • 收费网站怎么建立orchid wordpress
  • 狍与女人做爰网站动画设计考研
  • 登陆建设银行网站异常如何编写网站建设销售的心得
  • idea做网站登录郑州发布
  • 网站锚文本与标签佛山网站建设公司招聘
  • 中国建设银行假网站个人社保缴费应交多少
  • 天猫网站建设分析新手制作网站
  • 更改网站模板内容餐厅网站页面设计