庆云古诗词

庆云古诗词

anaconda批量卸载库

淘文章 0

2023年11月20日 每日一猜答案: 答案:ABC
每日一猜答案分析:


【【微信】】卸载干净_什么是conda 思创斯忠实用户-ss ? 2023年3月3日 19:40 ? 未分类

【【微信】】卸载干净_什么是condacondaupd【【微信】】//update最新版本的condacondacreate-nxxxxpython=3.6//创建xxxx环境condaacti【【微信】】//开启xxxx环境condadeactivate//…

大家好,我是你的好朋友思创斯。今天说一说【【微信】】卸载干净_什么是conda,希望您对编程的造诣更进一步.

文章目录 下载 安装 升级 卸载Anaconda软件 conda环境使用基本命令 查看指定包可安装版本信息命令 更新,卸载安装包: 删除虚拟环境 清理(conda瘦身) 复制/重命名/删除env环境 conda自动开启/关闭激活 Conda 安装本地包 解决conda/pip install 下载速度慢 conda数据源管理 pip数据源管理 pip安装包管理 pip和conda批量导出、安装组件(re【【微信】】.txt) 常用软件安装 问题 1:failed ERROR conda.core.link:_execute(502): 2.【【微信】】或conda不是内部命令 3.conda创建环境时报错:NotWritableError: The current user does not ha【【微信】】 a required path. 4.conda创建环境时报错:Collecting package metadata (current_repodata.json): failed ProxyError: Conda cannot proceed due to an error in your proxy configuration. 下载

直接去【【微信】】官网下载安装文件即可,具体网站自行搜索。 官网提供linux版本,windows版本,mac版本。 同时提供Anaconda完整版和miniconda最小版(无软件界面的,仅支持命令行执行),新手推荐使用Anaconda版,熟悉之后推荐改用miniconda版,占用存储空间小,使用起来感受一样。

安装

linux环境

bash Anaconda3-2019.07-Linux-x86_64.sh #yes+回车 #然后重启terminal

window环境:直接双击安装exe文件,然后根据安装向导进行安装

升级

升级Anaconda需要先升级conda

conda update conda #基本升级 conda update 【【微信】】 #大的升级 conda update 【【微信】】-na【【微信】】 //update最新版本的【【微信】】-na【【微信】】 卸载Anaconda软件

由于Anaconda的安装文件都包含在一个目录中,所以直接将该目录删除即可。删除整个Anaconda目录:

计算机控制面板->程序与应用->卸载 //windows

或者

找到C:\ProgramDat【【微信】】3\Uninstall-Anaconda3.exe执行卸载

rm -rf 【【微信】】 //ubuntu

最后,建议清理下.bashrc中的Anaconda路径。

conda环境使用基本命令 conda update -n base conda #update最新版本的conda conda create -n xxxx python=3.5 #创建python3.5的xxxx虚拟环境 conda acti【【微信】】 #开启xxxx环境 conda deactivate #关闭环境 【【微信】】 #显示所有的虚拟环境 conda info --envs #显示所有的虚拟环境 查看指定包可安装版本信息命令

参考:【【网址】】/qq_【【QQ微信】】/【【微信】】tails/79965389 查看【【微信】】各个版本:(查看会发现有一大堆TensorFlow源,但是不能随便选,选择可以用查找命令定位)

【【微信】】 search -t conda 【【微信】】

查看指定包可安装版本信息命令

【【微信】】 show

查看指定【【微信】】/【【微信】】版本信息

【【微信】】 show 【【微信】】

输出结果会提供一个下载地址,使用下面命令就可指定安装1.8.0版本【【微信】】

conda install --channel https://conda.【【微信】】.org/【【微信】】 【【微信】】=1.8.0 更新,卸载安装包: conda list #查看已经安装的文件包 conda list -n xxx #指定查看xxx虚拟环境下安装的package conda update xxx #更新xxx文件包 conda uninstall xxx #卸载xxx文件包 删除虚拟环境 conda remo【【微信】】 //创建xxxx虚拟环境 清理(conda瘦身)

conda clean就可以轻松搞定!第一步:通过conda clean -p来删除一些没用的包,这个命令会检查哪些包没有在包缓存中被硬依赖到其他地方,并删除它们。第二步:通过conda clean -t可以将删除conda保存下来的tar包。

conda clean -p //删除没有用的包 conda clean -t //删除tar包 conda clean -y --all //删除所有的安装包及cache

参考:【【网址】】/menc15/【【微信】】tails/71477949

复制/重命名/删除env环境

Conda是没有重命名环境的功能的, 要实现这个基本需求, 只能通过愚蠢的克隆-删除的过程。 切记不要直接mv移动环境的文件夹来重命名, 会导致一系列无法想象的错误的发生!

//克隆oldname环境为newname环境 conda create --name newname --clone oldname //彻底删除旧环境 conda remo【【微信】】

注意:必须在base环境下进行以上操作,否则会出现各种莫名的问题。

conda自动开启/关闭激活

参考:【【网址】】/clemente/p/11231539.html

conda activate #默认激活base环境 conda acti【【微信】】 #激活xxx环境 conda deactivate #关闭当前环境 conda config --set auto_acti【【微信】】 #关闭自动激活状态 conda config --set auto_acti【【微信】】 #关闭自动激活状态 Conda 安装本地包

有时conda或pip源下载速度太慢,install a过程中会中断连接导致压缩包下载不全, 此时,我们可以用浏览器等工具先下载指定包再用conda或pip进行本地安装

#pip 安装本地包 pip install ~/Downloads/a.whl #conda 安装本地包 conda install --use-local ~/Downloads/a.tar.bz2 解决conda/pip install 下载速度慢 conda数据源管理 #显示目前conda的数据源有哪些 conda config --show channels #添加数据源:例如, 添加清华【【微信】】镜像: conda config --add channels https://【【微信】】【【网址】】/【【微信】】/pkgs/free/ conda config --add channels https://【【微信】】【【网址】】/【【微信】】/pkgs/main/ conda config --set show_channel_urls yes #删除数据源 conda config --remo【【微信】】://【【微信】】【【网址】】/【【微信】】/pkgs/free/

记录一下

#本人的 ~/.condarc auto_acti【【微信】】 channels: - https://【【微信】】【【网址】】/【【微信】】/cloud/pytorch/ - https://【【微信】】【【网址】】/【【微信】】/cloud/menpo/ - https://【【微信】】【【网址】】/【【微信】】/cloud/bioconda/ - https://【【微信】】【【网址】】/【【微信】】/cloud/msys2/ - https://【【微信】】【【网址】】/【【微信】】/cloud/conda-forge/ - https://【【微信】】【【网址】】/【【微信】】/pkgs/main/ - https://【【微信】】【【网址】】/【【微信】】/pkgs/free/ show_channel_urls: true pip数据源管理 #显示目前pip的数据源有哪些 pip config list pip config list --[user|global] # 列出用户|全局的设置 pip config get global.index-url # 得到这key对应的value 如:https://【【微信】】【【网址】】/pypi/simple/ # 添加 【【微信】】 #添加数据源:例如, 添加USTC中科大的源: pip config set global.index-url https://【【微信】】.ustc.edu.cn/pypi/web/simple #添加全局使用该数据源 pip config set global.trusted-host https://【【微信】】.ustc.edu.cn/pypi/web/simple # 删除 pip config unset key # 例如 conda config --remo【【微信】】://【【微信】】【【网址】】/【【微信】】/pkgs/free/ #搜索 【【淘密令】】 #搜素flask安装包 # 升级pip pip install pip -U

记录一下pip国内源

阿里云 http://【【微信】】【【网址】】/pypi/simple/ 中国科技大学 https://pypi.【【微信】】.ustc.edu.cn/simple/ 豆瓣(douban) http://pypi.douban.com/simple/ 清华大学 https://pypi【【网址】】/simple/ 中国科学技术大学 http://pypi.【【微信】】.ustc.edu.cn/simple/ pip安装包管理 pip list #列出当前缓存的包 pip purge #清除缓存 pip remove #删除对应的缓存 pip help #帮助 pip install xxx #安装xxx包 pip install xxx.whl #安装xxx.whl本地包 pip uninstall xxx #删除xxx包 pip show xxx #展示指定的已安装的xxx包 pip check xxx #检查xxx包的依赖是否合适 pip和conda批量导出、安装组件(re【【微信】】.txt)

参考

常用软件安装

参考:conda环境下常用软件安装

问题 1:failed ERROR conda.core.link:_execute(502): conda install 软件时出现如下错误信息: Preparing transaction: done 【【微信】】: done Executing transaction: failed ERROR conda.core.link:_execute(502):

解决方法:往往时权限不够,需要以管理员方式运行Anaconda prompt进行安装

2.【【微信】】或conda不是内部命令

解决方法:【【网址】】/p/32446675

添加上图环境变量即可

jupyter 【【淘密令】】默认工作目录设置 参考:【【网址】】/liwei1205/【【微信】】tails/78818568

1)在【【微信】】终端中输入下面命令,查看你的【【淘密令】】配置文件在哪里:

jupyter 【【淘密令】】 --generate-config #会生成文件C:\Users\用户\.jupyter\jupyter_【【淘密令】】_config.py

2)打开jupyter_【【淘密令】】_config.py文件通过搜索关键词:c.NotebookApp.【【淘密令】】_dir,修改如下

c.NotebookApp.【【淘密令】】_dir='E:\ f_models' //修改到自定义文件夹

3)然后重启【【淘密令】】服务器就可以了

**注:**其它方法直接命令到指定目录,【【微信】】终端中输:jupyter 【【淘密令】】 目录地址

3.conda创建环境时报错:NotWritableError: The current user does not ha【【微信】】 a required path.

问题出现的主要原因:用户没有对.conda文件夹的读写权限,造成其原因是由于在安装conda时使用了管理员权限。

sudo chown -R xxx:xxx .conda #xxx为自己的用户名/组 4.conda创建环境时报错:Collecting package metadata (current_repodata.json): failed ProxyError: Conda cannot proceed due to an error in your proxy configuration.

原因:主要是conda install xxx时,使用Ctrl+C强制中断安装xxx软件,然后修改了PC网络连接方式(代理连接改成了直连连接方式)

env | 【【微信】】 "_PROXY" #可以看到还是原来的代理连接方式 #解决方法: # 关闭当前终端,重新打开新的终端,然后就解决了问题 版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 举报,一经查实,本站将立刻删除。

文章由思创斯整理,转载请注明出处:【【网址】】/7932.html

赞 (0) 思创斯忠实用户-ss 0 0 生成海报
【本文地址】

The Gamer's Guide to the New AI


  • The new AI-powered Bing is now in preview, 【【微信】】ed at how much it knows about your fa【【微信】】.
  • These are five starter queries to ask Bing which may help you get more out of your gaming experience.
  • If you like the answers you find with Bing, remember to follow-up with the source links for more info.
  • The new Bing is in preview, and we’【【微信】】dback and apply those learnings to impro【【微信】】ime.

Many of us ha【【微信】】t some point in our lives to find ways to get an edge in our fa【【微信】】. From trying to smite the first boss in Elden Ring, to finding all the Agility Orbs in classic games like Crackdown, or what the best Perks are for Modern Warfare II. But we’【【微信】】uite as special as the new AI-powered Bing as our gaming co-pilot and its wealth of tips, trivi【【微信】】. With the new Bing you get better search, more complete answers to your gaming 【【微信】】, a new chat experience to explore deeper, and the ability to create content.  

The new AI-powered Bing is designed to help you find the information you’re looking for by deciphering intricate 【【微信】】, with clear answers, coupled with surprisingly in-depth responses. It also knows a hell of a lot about 【【微信】】. So much so we wanted to really test its gaming knowledge with some hard-hitting 【【微信】】 to see what type of response we’d get. The results, as you can try out for yourself by signing up for the waitlist, were pretty dang impressive.

【【微信】】nteracting with this new and inno【【微信】】, we’ve collected some effective ways for you to test out the new Bing to help you not only challenge its gaming credentials, but also find potential new ways for you to enjoy some of your fa【【微信】】. Remember to share your feedback so we can continue to impro【【微信】】.

  • Don’t worry about trying to be hyper-specific with your 【【微信】】. The new Bing won’t hesitate to offer some follow-up 【【微信】】 to help home in on the answer you’re looking for.
  • Related to that, don’t lea【【微信】】! It may have an ancillary topic related to the game you’re asking about.
  • Bing will always show you where it’s getting its information from, so if you like some of the answers you’re getting and want more details, don’t forget to check out the sources that Bing is pulling from. Your next fa【【微信】】st a click away!
  • See how creati【【微信】】ing about gaming with Bing — you may be surprised at some of the results!
  • Sign up here on Bing to join the waitlist for access to the new Bing.

There are so many uni【【微信】】 on console and PC today. While there’s a lot of information a【【微信】】mes are the best, sometimes our tastes and what we’re in the mood for might be a bit more specific. Bing can help you distill this down as well, either from the look of a game, who is featured in it, or how long it takes to finish. Here’s a few of the examples to try yourself:

  • “Tell me about the best cyberpunk-style role-playing games on Xbox.”
  • “Tell me about the best action games that are 10 hours or less to play.”
  • “Tell me about the best games with a female protagonist on Xbox.”

Strategies come in all shapes and sizes for games, and it’s not hard to find opinions on what the best gear loadouts, characters, and skill tree selections are. But are they the best choices for you? You can start with a basic 【【微信】】, but it’s the follow up interaction which will allow Bing to guide you towards the best choices on how to spec out, or e【【微信】】 out.

 Here’s what we asked:

  • “What loadout should I use in Warzone 2.0 multiplayer?”
  • “What is the best Overwatch 2 character for me?”
  • “What are the best perks to use in Cyberpunk 2077?”
  • “What Xbox Game Pass games might I enjoy?”

Bing can help you find a lot of things in your fa【【微信】】, like where every secret weapon location is in Fortnite, where the Tall Tales journals are in Sea of Thieves, 【【微信】】ind your car keys (sort of). But what if what you’re looking for isn’t immediately coming to mind. You know the type, like that one 【【微信】】’s that guy who did that one thing with the fire sword that one time? To start drilling this down to help us find the right answer, we asked:

  • “Where can I find the blue alien lady in Mass Effect 3?”
  • “Where can I find a list of Fallout 3 【【微信】】he letter J?
  • “Where can I find that one 【【微信】】’s that guy who did that one thing with the fire sword that one time?” (your follow up responses will be crucial on something like this!)

On top of their incredible worlds, games can ha【【微信】】 storylines that may seem a little hard to follow while playing them. Not to mention that we must put that controller down at some point and return to the action another day. Sometimes that day turns into months, maybe e【【微信】】. So, wouldn’t it be nice to get a recap of how far along you are in a game without ha【【微信】】? The new Bing is here to help. Here’s a few examples we pulled from:

  • “Give me a recap of Ni No Kuni: Wrath of the White Witch up to chapter 4.”
  • “Give me a recap of Witcher 3 after 20 hours.”
  • “Gi【【微信】】paign storyline in the Halo series.”

While Bing can certainly help us with learning how to defeat the baddest of bad guys in gaming (e.g. ‘How do I defeat Malenia in Elden Ring?’), we wanted to take this in a slightly different direction: What if it could help us learn how to create something tangible from our fa【【微信】】? Afterall, leaning how to do something new can be one of the most fun things to do in life, and if it comes from the world of our fa【【微信】】, even better! So, we took this to task with a few examples that you can try as well:

  • “How do I make a cake like the one that appears in Portal?
  • “How do I make a toy sword based on a design found in Skyrim?”
  • “How do I prepare a meal based on the ramen recipes found in Yakuza: Like a Dragon?”

We hope these broad examples help you kickstart your own 【【微信】】 and interactions with this amazing new tool for e【【微信】】specially gaming). Don’t be afraid to get weird: What games would Marcus Fenix enjoy? Bing has an answer. You can e【【微信】】, personalized music festival-style 3-day lineup… but with games coming out this year in place of musical artists.

Just remember to click through to the source of the information so you can disco【【微信】】 websites that you may ha【【微信】】. If you don’t already ha【【微信】】, join the waitlist here. Happy searching!