Found existing installation: numpy 1.8.0rc1
DEPRECATION: Uninstalling a distutils installed project (numpy) has been deprecated and will be removed in a future version. This is due to the fact that uninstalling a distutils project will only partially uninstall the project.
Uninstalling numpy-1.8.0rc1:
Exception:
Traceback (most recent call last):
File “/Library/Python/2.7/site-packages/pip/basecommand.py”, line 215, in main
status = self.run(options, args)
File “/Library/Python/2.7/site-packages/pip/commands/install.py”, line 342, in run
prefix=options.prefix_path,
File “/Library/Python/2.7/site-packages/pip/req/req_set.py”, line 778, in install
requirement.uninstall(auto_confirm=True)
File “/Library/Python/2.7/site-packages/pip/req/req_install.py”, line 754, in uninstall
paths_to_remove.remove(auto_confirm)
File “/Library/Python/2.7/site-packages/pip/req/req_uninstall.py”, line 11
pip install opencv-python遇到的错误
最新推荐文章于 2024-08-30 15:23:36 发布
在尝试使用pip安装opencv-python时遇到了错误,提示卸载distutils安装的numpy项目不再被推荐,并出现Operation not permitted的权限错误。解决方案是在命令中添加--ignore-installed参数来忽略已安装的numpy,从而成功安装opencv-python。
摘要由CSDN通过智能技术生成