anaconda 降级opencv
时间: 2023-10-18 11:25:51 浏览: 429
要降级Anaconda中的OpenCV版本,可以按照以下步骤进行操作:
1. 确认已经安装了Anaconda3,并已经配置好了环境变量。
2. 打开终端或命令提示符,运行以下命令查看当前安装的OpenCV版本:
```
python -c "import cv2; print(cv2.__version__)"
```
3. 如果当前版本高于4.6,需要降级到4.6及以下版本。可以运行以下命令使用pip来降级OpenCV:
```
pip install opencv-python<4.6
```
4. 安装完成后,再次运行步骤2的命令确认OpenCV版本已经成功降级。
这样就成功将Anaconda中的OpenCV版本降级了。请注意,降级操作可能会影响其他依赖于较新OpenCV版本的软件或代码,所以在降级之前请确保没有其他影响。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [unbutun18.04+RTX2070+cuda+cudnn安装+anaconda+opencv](https://blog.csdn.net/qq_41931821/article/details/89239388)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *2* [(Anaconda) 解决Pycharm导入opencv(cv2库)不提示函数](https://blog.csdn.net/bizarre07/article/details/129464262)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *3* [matlab代码能放到不同文件夹-Facial-Recognition-VGG-Face:使用VGG人脸模型进行人脸识别的代码](https://download.csdn.net/download/weixin_38684976/19108034)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"]
[ .reference_list ]
阅读全文