- 博客(5)
- 收藏
- 关注
原创 git clone下载慢或无法access的解决方法
可以试试以下修改就好啦:原命令:git clone https://github.com/NVIDIA/apex.git更改后,将 github.com 更改为:gitclone.com/github.comgit clone https://gitclone.com/github.com/NVIDIA/apex.git希望装包人没事🙏感谢:https://www.zhihu.com/question/27159393/answer/1882965129。很可惜原文给出的三个参考只有
2022-02-28 19:35:31
405
原创 Linux conda & pip 配置清华源
conda配置建立 ~/.condarc 文件,然后在其中加入:channels: - defaultsshow_channel_urls: truedefault_channels: - http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main - http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free - http://mirrors.tuna.tsinghua.edu.cn
2021-11-30 11:06:28
2091
原创 Linux后台运行程序&实时查看输出:nohup命令
Linux后台运行程序&实时查看输出:nohup命令1. 后台运行程序nohup python -u main.py > output.txt &说明:-u:实时查看输出;output.txt:运行过程打印的信息输出的文件;记得末尾加 &;2. 实时查看输出tail -f output.txt 这样就不担心与服务器连接时断掉导致程序也不接着跑了~希望炼丹人没事????参考:https://cloud.tencent.com/developer/ar
2021-10-22 10:07:23
2609
2
原创 使用ffmpeg包可能会出现的小错误
使用ffmpeg包可能会出现的小错误1. 报错:module ffmpeg has no attribute input这样的问题,很有可能是真假李逵的问题有可能你要用的包是ffmpeg-python哦:pip3 install ffmpeg-python说不定就解决了呢~2. 报错:ffmpeg: error while loading shared libraries: libopenh264.so.5: cannot open shared object file: No such fi
2021-09-10 20:40:38
1554
2
原创 Java使用runtime调用python脚本可能犯的小错误
Java使用runtime调用python脚本可能犯的小错误问题描述在使用Java的runtime方法调用python脚本时,有时会出现运行成功,但python脚本并没有执行的情况。这种情况可能是因为Python导包的问题。解决方法1. 强烈推荐python interpreter和python SDK使用anaconda;2. **python脚本一定要在cmd下运行通过在可以被Java调用**!这个过程中可能会报关于导包的错误提示,**需要根据提示解决错误**!!!3. 部分包可以在 h
2021-03-02 10:54:36
696
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人