anaconda与jupyter、pycharm等工具
文章平均质量分 58
主要记录使用anaconda与jupyter、pycharm、vscode等工具问题
ThreeStones1029
这个作者很懒,什么都没留下…
展开
-
import torch报错Key already registered with the same priority: GroupSpatialSoftmax
import torch报错Key already registered with the same priority: GroupSpatialSoftmax原创 2023-07-21 22:24:38 · 952 阅读 · 0 评论 -
2023-7-21-torch 不能顺利导入torchvision
最近再跑关键点预测网络,又到了环境报错的阶段,在预测时报错如下:UserWarning: Failed to load image Python extension: Could not find module ‘C:\Users\user_name\anaconda3\envs\HRNet\Lib\site-packages\torchvision\image.pyd’ (or one of its dependencies). Try using the full path with construct原创 2023-07-21 22:21:21 · 753 阅读 · 3 评论 -
解决pycharm添加解析器时,找不到配置好的虚拟环境问题
在学习第二个pytorch项目时,添加解析器时,有点问题,找不到原来的配置好的环境了,如下图,明明在anaconda中有pytorch环境,但是检测不到。可以打开解析器设置->下拉python解析器->选择showall->红色方框,就可以看到隐藏起来的pytorch1.7.1-gpu了。虽然添加时还是可以找到虚拟环境下的路径下的python.exe,进行手动添加,但这时往往会重新复制一个环境名称:例如。我这里是想添加安装好的虚拟环境pytorch1.7.1-gpu。找到原来勾选的项目,去掉勾选,即可。原创 2023-02-16 14:40:27 · 4504 阅读 · 1 评论 -
解决安装nbextensions后使用Jupyter Notebook时出现template_paths相关错误的问题
解决安装nbextensions后使用Jupyter Notebook时出现template_paths相关错误的问题原创 2023-02-23 11:14:11 · 312 阅读 · 0 评论 -
打开jupyter notebook 报错 404GET/static/components/marked/lib/marked.js?
[W 16:14:11.536 NotebookApp] 404 GET /static/components/marked/lib/marked.js?v=20230221161408 (::1) 21.950000ms referer=http://localhost:8888/tree原创 2023-02-21 17:22:19 · 4650 阅读 · 5 评论 -
jupyter notebook好用的功能
jupyter notebook的小功能有很多,适合轻量级的学习,需要准备的就是:在Anoconda中安装好jupyter notebook以及Nbextensions插件。原创 2023-03-06 16:56:56 · 327 阅读 · 0 评论 -
Error #15: Initializing libiomp5md.dll, but found libiomp5md.dll already initialized.
Error #15: Initializing libiomp5md.dll, but found libiomp5md.dll already initialized.原创 2023-02-01 21:09:14 · 1055 阅读 · 0 评论 -
【torch.cuda.is_available()输出false】
【torch.cuda.is_available()输出false】原创 2023-01-31 13:03:31 · 963 阅读 · 1 评论 -
ERROR: Could notfind a version that satisfies the requirement
ERROR: Could notfind a version that satisfies the requirement pytorch==1.12.1 (from versions:0.1.2, 1.0.2)ERROR: No matchingdistribution found for pytorch==1.12.1原创 2023-01-30 21:48:43 · 2376 阅读 · 0 评论 -
anaconda退出环境报错
anaconda退出环境报错原创 2023-01-30 20:41:31 · 207 阅读 · 0 评论 -
conda Collecting package metadata (repodata.json)卡住或 failed问题
conda Collecting package metadata (repodata.json)卡住或 failed问题原创 2023-01-30 20:07:33 · 1584 阅读 · 0 评论