随笔分类 - 疑难杂症
摘要:conda install -c nvidia cuda-compiler References: https://github.com/microsoft/DeepSpeed/issues/2772
阅读全文
摘要:找了很久的教程,最简洁的方法:管理员权限打开powershell,执行命令 wsreset -i References: https://www.elevenforum.com/t/reinstall-microsoft-store-app-in-windows-10-and-windows-11.
阅读全文
摘要:解决方案: 在安装完cudnn之后,将虚拟环境LIB路径添加到环境变量`LD_LIBRARY_PATH`中。 ``` export LD_LIBRARY_PATH=$LD_LIBRARY_PATH: ```
阅读全文
摘要:方式一 禁用系统代理 方式二 指定--proxy参数,如安装pyyaml为例 实测方式二对pip版本21.2.4无效,对22.1版本有效 pip install pyyaml --proxy="127.0.0.1:1081" 方式三 降级pip版本到20.2.4
阅读全文
摘要:转载自:https://www.bswen.com/2021/11/how-to-solve-github-https-clone-error.html 方法一 git config --global http.sslVerify false 方法二 将https链接改为http git clone
阅读全文
摘要:直接导出为html本地打开,之后用浏览器打印功能打印成pdf,这样就不用装很多软件了。
阅读全文
摘要:bunch包从2011年就未更新了,不支持python3, 目前使用会出现各种问题。 Munch从bunch项目fork出来。 对于用bunch包的旧代码,可以替换import指令 from munch import Munch as Bunch
阅读全文
摘要:在调试Pytorch的时候,一直显示"collecting data"。 解决方案:如下图勾选Gevent 参考: https://stackoverflow.com/questions/39371676/debugger-times-out-at-collecting-data
阅读全文
摘要:执行lsblk命令查看,发现实际容量与df容量不同。 执行 resize2fs <挂载点>命令解决该问题 然后执行fsck <挂载点>试试 参考: https://askubuntu.com/questions/1041416/apt-update-problem-unlinking-the-fil
阅读全文
摘要:Fatal: unable to access 'https://github.com/username/username.github.io.git/': Failed to connect to github.com port 443 after 21144 ms: Timed out FATA
阅读全文
摘要:Unable to find vcvarsall.bat 在setup.py文件第一行添加代码: import setuptools error: Microsoft Visual C++ 14.0 or greater is required. 如果是conda环境则执行以下命令: conda i
阅读全文
摘要:在任务管理器关闭Microsoft Office即点即用进程
阅读全文
摘要:参考:https://blog.csdn.net/getture/article/details/108807774 点击Help->Edit Custom VM Options 添加添加-Djava.net.preferIPv4Stack=true这个内容到新的一行 然后保存 重新启动该软件
阅读全文
摘要:在利用Pycharm创建虚拟环境时,由于pip版本较低,于是升级pip版本,执行命令 python -m pip install --upgrade pip 但是报错,错误为 AttributeError: 'NoneType' object has no attribute 'bytes' 通过网
阅读全文
摘要:在用 crontab -e 命令创建定时任务后,发现定时任务中的发邮件并未执行。 通过上网查询,可以看crontab的日志。命令如下: tail /var/log/cron 执行结果如下图: 发现发送邮件报错为 mailed 284 bytes of output but got status 0x
阅读全文
摘要:在使用Jetbrains产品时,例如IDEA、Pycharm,输入法切换双击shift键总是弹出全局搜索,十分不便,这里采用一种简单的方法来屏蔽这个功能。 1. 按下ctrl+shift+A打开搜索框 2. 输入registry, 弹出如下界面 3. 找到ide.supress.double.cli
阅读全文