[英]error with reinstall pip install opencv-python
我的病毒扫描程序今天想删除opencv_xfeatures2d430.dll
,因为它感染了Win64: Evo-gen [Susp]
... 不幸的是,这意味着 Opencv 不再有效。 (Win 10) 我心里想,那我就卸载了再安装:
pip uninstall opencv-python
pip install opencv-python
但这现在导致以下错误消息......
C: \ Users \ bla \ Desktop \ WorkingDir \ TranslationsUntersprüfung> pip install opencv-python
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
Collecting opencv-python
Using cached opencv-python-4.3.0.38.tar.gz (88.0 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
ERROR: Command errored out with exit status 1:
command: 'c: \ python27 \ python.exe' 'c: \ python27 \ lib \ site-packages \ pip \ _vendor \ pep517 \ _in_process.py' get_requires_for_build_wheel 'c: \ users \ bla \ appdata \ local \ temp \ tmp582u8m '
cwd: c: \ users \ bla \ appdata \ local \ temp \ pip-install-otbseb \ opencv-python
Complete output (22 lines):
Traceback (most recent call last):
File "c: \ python27 \ lib \ site-packages \ pip \ _vendor \ pep517 \ _in_process.py", line 280, in <module>
Main()
File "c: \ python27 \ lib \ site-packages \ pip \ _vendor \ pep517 \ _in_process.py", line 263, in main
json_out ['return_val'] = hook (** hook_input ['kwargs'])
File "c: \ python27 \ lib \ site-packages \ pip \ _vendor \ pep517 \ _in_process.py", line 114, in get_requires_for_build_wheel
return hook (config_settings)
File "c: \ users \ bla \ appdata \ local \ temp \ pip-build-env-ec2cyy \ overlay \ Lib \ site-packages \ setuptools \ build_meta.py", line 146, in get_requires_for_build_wheel
return self._get_build_requires (config_settings, requirements = ['wheel'])
File "c: \ users \ bla \ appdata \ local \ temp \ pip-build-env-ec2cyy \ overlay \ Lib \ site-packages \ setuptools \ build_meta.py", line 127, in _get_build_requires
self.run_setup ()
File "c: \ users \ bla \ appdata \ local \ temp \ pip-build-env-ec2cyy \ overlay \ Lib \ site-packages \ setuptools \ build_meta.py", line 243, in run_setup
self) .run_setup (setup_script = setup_script)
File "c: \ users \ bla \ appdata \ local \ temp \ pip-build-env-ec2cyy \ overlay \ Lib \ site-packages \ setuptools \ build_meta.py", line 142, in run_setup
exec (compile (code, __file__, 'exec'), locals ())
File "setup.py", line 448, in <module>
Main()
File "setup.py", line 99, in main
% {"ext": re.escape (sysconfig.get_config_var ("EXT_SUFFIX"))}
File "c: \ python27 \ lib \ re.py", line 210, in escape
s = list (pattern)
TypeError: 'NoneType' object is not iterable
----------------------------------------
ERROR: Command errored out with exit status 1: 'c: \ python27 \ python.exe' 'c: \ python27 \ lib \ site-packages \ pip \ _vendor \ pep517 \ _in_process.py' get_requires_for_build_wheel 'c: \ users \ bla \ appdata \ local \ temp \ tmp582u8m 'Check the logs for full command output.
有人可以帮我吗? 我找不到“日志”,它们在哪里? 昨天一切都好...
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.