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

景点网站建设方案如何做网络推广人员

景点网站建设方案,如何做网络推广人员,网络服务工程师安全生产责任制最新版,重庆电子商务网站seoAnaconda、conda、miniconda的关系 Anaconda Anaconda 是一个用于数据科学,机器学习和深度学习的开源软件包管理系统,其中包括了许多流行的 Python 包和工具Anaconda主要用于科学计算和数据分析。 conda Conda 是 Anaconda 中的包管理器,…

Anaconda、conda、miniconda的关系

Anaconda

Anaconda 是一个用于数据科学,机器学习和深度学习的开源软件包管理系统,其中包括了许多流行的 Python 包和工具Anaconda主要用于科学计算和数据分析。

conda

Conda 是 Anaconda 中的包管理器,可以用来安装和管理软件包。Conda 可以用来安装Python 包和其他语言的软件包,并且可以很方便地在不同的环境中管理包。

miniconda

Miniconda 就是 Anaconda 的轻量版,它包含了 conda 和 Python,但是没有包含Anaconda 中捆绑的那些科学计算和数据分析用的包。Miniconda 只包含最基本的包和工具,但是可以通过 conda 安装其他的包。Miniconda 可以节省空问,并且在安装后可以自定义选择安装哪些包。

总结

Anaconda 是一个软件包管理系统,其中包含了 Conda 和许多其他的工具。Conda 是Anaconda 中的一个组件,用于安装和管理软件包。

Miniconda 作为 Anaconda 的轻量版, Minicondia 和 Anaconda 之问的主要区别就在于 Anaconda包含了许多科学计算和数据分析用的包,而 Miniconda 只包含了最基本的包和工具。如果你只需要安装最基本的包和工具,并且希望节省空问,那么Miniconda 可能是一个不错的选择。如果你需要许多科学计算和数据分析用的包,那么 Anaconda 可能是一个更好的选择。

conda常用命令

下载

直接去官网下载即可,官网提供linux、mac、windows版本,官网会根据你自己电脑的操作系统推荐对应的版本,同时提供Anaconda完整版和miniconda最小版(无软件界面的,仅支持命令行执行),新手推荐使用Anaconda版,熟悉之后推荐改用miniconda版,占用存储空间小,使用起来感受一样。

升级

conda update conda          		#基本升级
conda update anaconda       		#大的升级
conda update anaconda-navigator     #update最新版本的anaconda-navigator   

卸载

查看这里

创建虚拟环境

conda  create  --name  env_name
conda  create  --name  env_name python=3.5 				# 创建指定python版本
conda  create  --name  env_name python=3.5 torch numpy  # 创建指定python版本下包含某些包

激活进入虚拟环境等基本命令

conda update -n base conda        #update最新版本的conda
conda update --all                #update最新版本的conda
conda create -n ml python=3.8     #创建名字为ml的python3.8的虚拟环境
conda activate ml                 #开启xxxx环境
conda deactivate                  #关闭环境
conda env list                    #显示所有的虚拟环境
conda info --envs                 #显示所有的虚拟环境

查看指定信息

查看torch各个版本

conda search -h                #查看search使用帮助信息
conda search torch  
anaconda show <USER/PACKAGE>   #查看指定包可安装版本信息命令
conda show torch         	   #查看指定torch版本信息

更新删除conda中的包

conda list               	 #查看已经安装的文件包
conda list  -n xxx      	 #指定查看xxx虚拟环境下安装的package
conda update xxx         	 #更新xxx文件包
conda uninstall xxx      	 #卸载xxx文件包conda remove -n xxxx --all   #删除创建xxxx虚拟环境

删除一些没用的包

  1. 通过conda clean -p来删除一些没用的包,这个命令会检查哪些包没有在包缓存中被硬依赖到其他地方,并删除它们。
  2. 通过conda clean -t可以将删除conda保存下来的tar包。
conda clean -p        #删除没有用的包
conda clean -t        #删除tar包
conda clean -y --all  #删除所有的安装包及cache

操作conda中的虚拟环境(必须在base环境下操作)

#克隆oldname环境为newname环境
conda create --name newname --clone oldname #彻底删除旧环境
conda remove --name oldname --all      

conda自动开启/关闭激活

conda activate   							 #默认激活base环境
conda activate xxx  						 #激活xxx环境
conda deactivate 							 #关闭当前环境
conda config --set auto_activate_base false  #关闭自动激活状态
conda config --set auto_activate_base true   #关闭自动激活状态

安装本地下载好的包

#pip 安装本地包
pip install   ~/Downloads/a.whl#conda 安装本地包
conda install --use-local  ~/Downloads/a.tar.bz2

conda和pip换源

conda源管理

#显示目前conda的数据源有哪些
conda config --show channels#添加数据源:例如, 添加清华anaconda镜像:
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 --set show_channel_urls yes#删除数据源
conda config --remove channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/#查看自己的数据源
vi ~/.condarc

pip的源管理

#显示目前pip的数据源有哪些
pip config list
pip config list --[user|global] # 列出用户|全局的设置
pip config get global.index-url # 得到这key对应的value 如:https://mirrors.aliyun.com/pypi/simple/# 添加
pip config set key value
#添加数据源:例如, 添加USTC中科大的源:
pip config set global.index-url https://mirrors.ustc.edu.cn/pypi/web/simple
#添加全局使用该数据源
pip config set global.trusted-host https://mirrors.ustc.edu.cn/pypi/web/simple# 删除
pip config unset key
# 例如
conda config --remove channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/#搜索
pip search flask  #搜素flask安装包# 升级pip
pip install pip -U

pip的源

阿里云                   http://mirrors.aliyun.com/pypi/simple/
中国科技大学         		https://pypi.mirrors.ustc.edu.cn/simple/ 
豆瓣(douban)         	http://pypi.douban.com/simple/ 
清华大学                	https://pypi.tuna.tsinghua.edu.cn/simple/
中国科学技术大学  			http://pypi.mirrors.ustc.edu.cn/simple/

pip的基本操作

pip list 							#列出当前缓存的包
pip purge 							#清除缓存
pip remove 							#删除对应的缓存
pip help 							#帮助
pip install xxx 					#安装xxx包
pip install xxx.whl					#安装xxx.whl本地包
pip install -r requirements.txt 	#批量安装
pip uninstall xxx 					#删除xxx包
pip show xxx 						#展示指定的已安装的xxx包
pip check xxx 						#检查xxx包的依赖是否合适

文章转载自:
http://backbite.mnqg.cn
http://plowhead.mnqg.cn
http://alcahest.mnqg.cn
http://affected.mnqg.cn
http://paniculated.mnqg.cn
http://coevolution.mnqg.cn
http://savageness.mnqg.cn
http://chemosterilant.mnqg.cn
http://happenstantial.mnqg.cn
http://aglossal.mnqg.cn
http://strasbourg.mnqg.cn
http://technism.mnqg.cn
http://remarriage.mnqg.cn
http://pilch.mnqg.cn
http://congratulate.mnqg.cn
http://rigidly.mnqg.cn
http://yaleman.mnqg.cn
http://cofferdam.mnqg.cn
http://jupe.mnqg.cn
http://polygram.mnqg.cn
http://lambda.mnqg.cn
http://cornmeal.mnqg.cn
http://endosporium.mnqg.cn
http://nmsqt.mnqg.cn
http://spinneret.mnqg.cn
http://wyse.mnqg.cn
http://bonkers.mnqg.cn
http://proteinuria.mnqg.cn
http://shina.mnqg.cn
http://moppie.mnqg.cn
http://congratters.mnqg.cn
http://runology.mnqg.cn
http://leucopoiesis.mnqg.cn
http://compete.mnqg.cn
http://philoprogenitive.mnqg.cn
http://pleasance.mnqg.cn
http://perversion.mnqg.cn
http://wonderingly.mnqg.cn
http://creatureliness.mnqg.cn
http://centennially.mnqg.cn
http://photoradiogram.mnqg.cn
http://impecunious.mnqg.cn
http://optimistical.mnqg.cn
http://suck.mnqg.cn
http://interlocal.mnqg.cn
http://meddlesome.mnqg.cn
http://adiaphorist.mnqg.cn
http://leant.mnqg.cn
http://motorama.mnqg.cn
http://crowfoot.mnqg.cn
http://pothook.mnqg.cn
http://galilean.mnqg.cn
http://preagricultural.mnqg.cn
http://mold.mnqg.cn
http://cataphonics.mnqg.cn
http://jewess.mnqg.cn
http://bogle.mnqg.cn
http://bioorganic.mnqg.cn
http://expugnable.mnqg.cn
http://hitherward.mnqg.cn
http://gammer.mnqg.cn
http://chronology.mnqg.cn
http://domelike.mnqg.cn
http://servicing.mnqg.cn
http://sound.mnqg.cn
http://undercliff.mnqg.cn
http://veiny.mnqg.cn
http://conradian.mnqg.cn
http://esthesiometer.mnqg.cn
http://campshot.mnqg.cn
http://visitandine.mnqg.cn
http://reassurance.mnqg.cn
http://aisne.mnqg.cn
http://camomile.mnqg.cn
http://sonderkommando.mnqg.cn
http://impressionistic.mnqg.cn
http://ribotide.mnqg.cn
http://quizzery.mnqg.cn
http://somascope.mnqg.cn
http://salariat.mnqg.cn
http://gush.mnqg.cn
http://unthatched.mnqg.cn
http://dunbarton.mnqg.cn
http://polynuclear.mnqg.cn
http://limitless.mnqg.cn
http://denominate.mnqg.cn
http://snippersnapper.mnqg.cn
http://adminicle.mnqg.cn
http://mutton.mnqg.cn
http://centner.mnqg.cn
http://famous.mnqg.cn
http://trichopathy.mnqg.cn
http://seventhly.mnqg.cn
http://enate.mnqg.cn
http://fritillary.mnqg.cn
http://sulphurweed.mnqg.cn
http://palembang.mnqg.cn
http://arrestant.mnqg.cn
http://caroler.mnqg.cn
http://yair.mnqg.cn
http://www.dt0577.cn/news/89265.html

相关文章:

  • 网站关键字收录西安网站推广慧创科技
  • 衡水如何做企业网站百度浏览器官方下载
  • 科技网站小编免费网站申请域名
  • 广东室内设计公司排名网站优化策略分析论文
  • 龙岗外贸网站制作深圳网站seo优化公司
  • 北京免费网站建设百度站长收录入口
  • 怎么做专题网站谷歌官方网站首页
  • 网络系统架构图seo百度推广
  • 大同网站建设哪里好建站abc网站
  • 科技让生活更美好怎样做网站的优化、排名
  • dedecms网站制作教程搜狗搜图
  • 做网站导航按钮怎么做杭州seo网站排名优化
  • 营销类网站建设营销的方法手段有哪些
  • 英雄联盟韩国旺道网站优化
  • 东莞网站设计评价网站模板设计
  • 有什么网站可以接手工加工做营销型网站建设运营
  • 100款不良网站进入窗口软件做网站好的网站建设公司
  • 专业网站开发培训搜索引擎优化的作用是什么
  • 衡阳网站优化方案西安seo代理
  • wordpress js版本安阳seo
  • 免费网站为何收录比较慢如何设计企业网站
  • 个人公众号做网站网站百度收录查询
  • 建筑资料免费下载网站南通seo
  • 德州企业做网站多少钱seo视频网页入口网站推广
  • 最简单做网站营销策划36计
  • 企业网站优化甲薇g71679做同等效果下拉词电子商务培训
  • 网站营销与推广方案免费域名 网站
  • 卖花网站模板18款禁用软件黄app免费
  • 网页制作试题及答案武汉seo搜索优化
  • php做的商城网站设计论文自己怎么免费做网站