python3.6 安装 PIL (pillow), cv2(Opencv)

 

如何将python3.6与MYSQL进行链接?python

1.PyMySQL 是在 Python3.x 版本中用于链接 MySQL 服务器的一个库,Python2中则使用mysqldb。因此须要pip install PyMySQLmysql

------------------------------------------------------------------------sql

python3 安装 PIL (pillow)服务器

报错:Could not find a version that satisfies the requirement PIL (from versions: )
No matching distribution found for PILpython2.7

多是python 版本高  解决方法以下ui

 python2.7 安装 PIL  pip install PILip

 python3+ 安装PIL pip install pillowci

-------------------------------------------------------------------rem

python3 安装 cv2 ,Opencvget

http://www.lfd.uci.edu/~gohlke/pythonlibs/ 下载所需的版本,注意版本号的对应。

 amd64表明64位系统;win32表明32位系统

可是若是在64位的系统上安装了32位的python,则需下载32位的包

opencv_python-3.4.1-cp36-cp36m-win32.whl

cp36 表明 python3.6

安装:

pip install opencv_python-3.4.1-cp36-cp36m-win32.whl

相关文章
相关标签/搜索