当前位置:   article > 正文

今日pycharm上配置python遇到的几个坑_pycharm is not in the subpath of

pycharm is not in the subpath of

1.  pip更新问题

  1. You are using pip version 10.0.1, however version 18.1 is available.
  2. You should consider upgrading via the 'python -m pip install --upgrade pip' command.

   使用以下命令
   pip uninstall pip 

   easy_install pip

   注意windows系统变量里设置的python,很多时候终端命令下屡次反复更新不成功是因为使用的系统变量的那个python环境。

2.python安装cv2出现如下错误:Could not find a version that satisfies the requirement cv2 (from versions: )

   最后用下面的命令安装成功    pip install opencv-python

3.安装face-recognition时报错CMake must be installed to build the following extensions: dlib

首先下载CMake安装,然后再

pip install dlib 

这个安装需要一段时间

然后就可以愉快地pip install face_recognition

 

对你有用请留个言。

 

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/酷酷是懒虫/article/detail/988833
推荐阅读
相关标签
  

闽ICP备14008679号