python
面包片片
这个作者很懒,什么都没留下…
展开
-
pip安装包报错:WARNING: Running pip as the ‘root‘ user can result in broken permissions and conflicting be
1 pip安装包时报错。原创 2023-06-16 17:52:51 · 7685 阅读 · 1 评论 -
IMPORTANT: You may need to close and restart your shell after running ‘conda init‘.
【代码】IMPORTANT: You may need to close and restart your shell after running ‘conda init‘.原创 2023-06-16 15:48:51 · 230 阅读 · 2 评论 -
torch +cuda常见问题
1 torch + cuda用cuda的torch,最好不要直接conda 或者pip去安装,否则用gpu去训练、测试模型容易出问题。建议直接去torch官网找https://pytorch.org/get-started/previous-versions/如果使用上面的命令安装后,报错(Could not find a version that satisfies…)。可能是cuda + torch的版本windows还没有,可以去官网看看cuda + torch版本对windows的适用情况,原创 2023-06-15 21:57:21 · 141 阅读 · 0 评论 -
pycharm专业版安装
1 去官网下载安装包https://www.jetbrains.com/pycharm/download/2 安装点击exe文件安装,自定义安装路径,尽量别装在c盘安装中把选项勾上点Install完事3 激活专业版学生账号可以免费用,使用学校给的邮箱去官网注册一下即可注册完直接登录账号就可有1年免费使用权原创 2023-06-15 21:45:50 · 23 阅读 · 0 评论 -
pycharm使用Anaconda创建好的环境
step1:创建项目后,选择previously configured interpreter->AddInterpreterstep2:找到Anaconda3\envs\文件夹下创建的环境,选择python.exe即可原创 2023-06-15 20:25:34 · 99 阅读 · 0 评论 -
Conda、pip下载包:PackagesNotFoundError: The following packages are not available from current channels:
1 问题安装包的时报下面错误(安装包之前查一下当前环境对应的包的版本:conda search 包名)2 解决方法报错原因是当前镜像中不存在这个包,解决方法如下:直接去官网https://anaconda.org/搜包名,找到对应的版本点进入,复制命令即可原创 2023-06-15 17:40:03 · 898 阅读 · 0 评论 -
anaconda创建新的python环境
【代码】anaconda创建新的python环境。原创 2023-06-15 16:50:25 · 1174 阅读 · 0 评论 -
Anaconda创建环境时FileNotFoundError|Executing transaction: failed
【代码】Anaconda创建环境时FileNotFoundError|Executing transaction: failed。原创 2023-06-15 15:48:31 · 762 阅读 · 1 评论 -
Anaconda报错solving environment:failed
【代码】Anaconda报错solving environment:failed。原创 2023-06-15 11:45:37 · 3694 阅读 · 1 评论 -
分享一个启动anaconda神速的方法
开着网启动一直转圈…把网关了启动,真是飞速,神速!!!!原创 2023-06-13 21:58:21 · 299 阅读 · 0 评论