github报错”You’re using an RSA key with SHA-1, which is no longer allowed…“ github对秘钥进行升级,导致RSA不再支持。(2)在github中删除旧的ssh秘钥,添加。(3)为了保险起见,将旧的秘钥改名做了备份。note:之前没有删除旧的秘钥,会仍旧报错。
python 安装pytorch apex 报错:“ERROR: Command errored out with exit status 1: /home/litt/anaconda3/envs/” 1.安装错误安装apex库时,执行安装 pip install -v --disable-pip-version-check --no-cache-dir --global-option="--cpp_ext" --global-option="--cuda_ext" ./,报错:ERROR: Command errored out with exit status 1: /home/xxx/anaconda3/envs/smplx_1.7/bin/python -u -c 'import io, os
python setup.py install报错“error: can‘t create or remove files in install directory” 运行python setup.py install 报错:running installerror: can't create or remove files in install directoryThe following error occurred while trying to add or remove files in theinstallation directory: [Errno 13] Permission denied: '/home/xxx/anaconda3/
ssh配置指定密钥文件登录linux 环境:本地mac,远程ubuntu Linux1. 指定密钥路径,登录ssh -i /root/.ssh/ido_sch_pro ido@192.168.1.111 -p 7744如上,/root/.ssh/ido_sch_pro :密钥文件路径ido@192.168.1.111 :需要连接的服务器用户名 & IP-p 7744 : 端口7744(如果修改了默认端口号)参考链接:SSH 指定密钥,连接远程服务器2. ssh 连接 debug上一步配置好以后,连接测试debug命令:
github、gist push密码验证错误记录 前景问题提要:在 git push 时报错:remote: Support for password authentication was removed . 完整错误如下:remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.remote: Please see https://github.blog/2020-.
align_corner 参数作用概述 在看[TORCH.NN.FUNCTIONAL.INTERPOLATE](https://pytorch.org/docs/stable/generated/torch.nn.functional.interpolate.html) 官方文档时,有一个参数align_corners 参数理解不清楚。官方解释如下:搜索资料后,通俗的解释如下:默认值align_corners=False,下/上采样时会超出原本的边角像素值范围(边界点也为预测值,不为原像素值。)align_corners=True,下/
conda python交互环境,Ctrl+方向键 乱码 conda 切换至某个python shell 交互环境下,方向键可以使用,但是执行Ctrl + keyboard 的快捷键时,会出现类似 5D5D5D 5C5C5C乱码。情况描述:切换其余的python环境无问题,因此确定是当前python环境存在的错误。根据其他经验贴,方向键不能使用,使用 pip install readline,但我的并不work最后猜测是python环境损坏,使用conda update --all 进行升级修复,Done!解决方案:conda update --a
VScode 黄色波浪线,Import “[module]“ could not be resolvedPylance 文章目录问题描述:解决方案:1. 修改vscode的python环境2. 修改 `.vscode/seteing.json` 文件问题描述:大致的错误截图:第三方包/自己的代码库,导入不成功,显示黄色波浪线,代码自动提示功能受限。解决方案:可按照下面顺序进行修改,一般前两步就可以解决问题。若三种方法均不行,可参考pylance 代码库的issue 进行修改。1. 修改vscode的python环境在最下方,点击python版本的地方,切换为安装有这些黄色标线的第三方库的python环境。(
sshfs取消挂载,fusermount: failed to unmount /mount/point: Device or resource busy错误 使用sshfs 进行挂载后,想取消挂载,执行fusermount -u /mount/point 时,报错fusermount: failed to unmount /mount/point: Device or resource busy,解决方案:fusermount -zu /mount/pointsudo umount -l /mount/point参考文献:sshfs device is busy...
Ubuntu查看僵尸进程 这应该是第2次使用 VS code remote产生僵尸进程了,只有重启解决问题。血泪的教训要记住啊:kill 进程前一定要把子进程先杀死,再杀父进程。否则,杀死了父进程,子进程容易成为“野指针”,关联到root进程,进而成为僵尸进程。目前无解,有方案欢迎指教一下我~查看僵尸进程的方案:ps -A -ostat,ppid,pid,cmd | grep -e '^[zZ]'这个...
python 命令行不能粘贴多行代码,报错:SyntaxError: multiple statements found while compiling a single statement 问题描述:下午新装了一个python环境,在使用命令行调试时,当粘贴多行命令是就会出现SyntaxError: multiple statements found while compiling a single statement 错误。例如下图:解决方案:exit()退出python环境,在shell下执行如下命令,即可。echo "set enable-bracketed-paste off" >> ~/.inputrc运行结果如下:参考链接:Can’t paste m
linux无法删除mount挂载文件夹 文章目录一、问题描述:二、解决方案三、总结一、问题描述:我是非root的服务器账号,因为始终无法访问某个sshfs的挂载文件夹,于是想取消挂载后重新挂载。但是取消挂载时,所有对该文件的命令均卡住,并且导致vs code的 remote-ssh无法正常登录。表征1:remote-ssh 无法登陆问题主要是挂载有问题,用VS code使用 remote-ssh 进入挂载文件夹,会一直显示加载中,如果此时中断,下次连接会错误,即无法使用 remote-ssh 访问远程服务器。表征2:无法访问挂载文件夹
安装cudnn时, library和deb模式的区别 在安装cudnn时,同一个平台会有三种模式:tgz format(library), deb format(runtime,develop),他们之间的区别如下:① download the tgz format:为Linux选择CUDNN库此安装相对简单,只需下载,解压缩,将相应的文件复制到指定的目录,并授予权限。② download deb format:Runtime and Developer version区别:Developer library 包含在Ubuntu系统上开发深度学习.
Could NOT find OpenSSL,没有root权限,在当前用户下安装openssl 前景提要:执行 cmake报错: Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_LIBRARIES OPENSSL_INCLUDE_DIR)情景一:有root权限Ubuntu 18.04 测试可解决。sudo apt-get install libssl-dev情景二:没有root权