700字范文,内容丰富有趣,生活中的好帮手!
700字范文 > pip报错 ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory

pip报错 ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory

时间:2021-10-23 10:44:27

相关推荐

pip报错 ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory

使用pip安装某些包时,会出现以下报错

ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: 'C:\\Users\\63191\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python310\\site-packages\\caffe2\\python\\serialized_test\\data\\operator_test\\collect_and_distribute_fpn_rpn_proposals_op_test.test_collect_and_dist.zip'

HINT: This error might have occurred since this system does not have Windows Long Path support enabled.You can find information on how to enable this at https://pip.pypa.io/warnings/enable-long-paths

要修改注册表

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystemLongPathsEnabled

值由0变1

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。