PyCharm
E:\project\opencv-start
E:\project\opencv-start\env
PyCharm
=>File
=>new Project
E:\project\opencv-start
和虚拟环境位置E:\project\opencv-start\env
main.py
,所以项目有了启动类
PyCharm
的Terminal
或者快捷键Alt
+F12
pip-autoremove==0.10.0
(env) PS E:\project\opencv-start> pip install pip-autoremove==0.10.0
Looking in indexes: https://mirrors.aliyun.com/pypi/simple, https://pypi.tuna.tsinghua.edu.cn/simple
Collecting pip-autoremove==0.10.0
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/81/33/07306f6de85b42ae5a8db4b0bf6abd447c699d3902998a7f873e6bce6c2c/pip_autoremove-0.10.0-py2.py3-none-any.whl (5.0 kB)
Requirement already satisfied: pip in e:\project\opencv-start\env\lib\site-packages (from pip-autoremove==0.10.0) (24.0)
Requirement already satisfied: setuptools in e:\project\opencv-start\env\lib\site-packages (from pip-autoremove==0.10.0) (69.1.1)
Installing collected packages: pip-autoremove
Successfully installed pip-autoremove-0.10.0
opencv-python==4.9.0.80
(env) PS E:\project\opencv-start> pip install opencv-python==4.9.0.80
Looking in indexes: https://mirrors.aliyun.com/pypi/simple, https://pypi.tuna.tsinghua.edu.cn/simple
Collecting opencv-python==4.9.0.80
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/c7/ec/9dabb6a9abfdebb3c45b0cc52dec901caafef2b2c7e7d6a839ed86d81e91/opencv_python-4.9.0.80-cp37-abi3-win_amd64.whl (38.6 MB)
Collecting numpy>=1.21.2 (from opencv-python==4.9.0.80)
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/19/77/538f202862b9183f54108557bfda67e17603fc560c384559e769321c9d92/numpy-1.26.4-cp310-cp310-win_amd64.whl (15.8 MB)
Installing collected packages: numpy, opencv-python
Successfully installed numpy-1.26.4 opencv-python-4.9.0.80
原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。
如有侵权,请联系 cloudcommunity@tencent.com 删除。
原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。
如有侵权,请联系 cloudcommunity@tencent.com 删除。