本文介绍: 已解决ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: ‘C:UsersADMINI~1AppDataLocalTemp2pip–install–s7tgji3nopencv–python–headless_eab394cf800c4bc98eee13628b7caca5opencv/samples/winrt_universal/VideoCaptureXAM
已解决ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: ‘C:UsersADMINI~1AppDataLocalTemp2pip–install–s7tgji3nopencv–python–headless_eab394cf800c4bc98eee13628b7caca5opencv/samples/winrt_universal/VideoCaptureXAML/video_capture_xaml/video_capture_xaml.WindowsPhone/video_capture_xaml.WindowsPhone.vcxproj.filters’
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
报错问题
粉丝群里面的一个小伙伴遇到问题跑来私信我,想用pip安装ddddocr模块,但是发生了报错(当时他心里瞬间凉了一大截,跑来找我求助,然后顺利帮助他解决了,顺便记录一下希望可以帮助到更多遇到这个bug不会解决的小伙伴),报错代码如下所示:
报错翻译
报错原因
解决方法
千人全栈VIP答疑群联系博主帮忙解决报错
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。