Could not install packages due to an OSError

运行时报错如下错误:

Could not install packages due to an OSError; [Errno 2] No such file or directory: '路径\文件'

解决方法:

找到对应文件的上一级文件所在的文件夹,删除即可

例如:

Could not install packages due to an OSError; [Errno 2] No such file or directory: 'C:\1\2\3\4\5\lang'

删除文件夹5,重新打开cmd即可正常运行

你可能感兴趣的:(网络)