如何将python3.6与MYSQL进行连接?
1.PyMySQL 是在 Python3.x 版本中用于连接 MySQL 服务器的一个库,Python2中则使用mysqldb。所以需要pip install PyMySQL
------------------------------------------------------------------------
python3 安装 PIL (pillow)
报错:Could not find a version that satisfies the requirement PIL (from versions: )
No matching distribution found for PIL
可能是python 版本高 解决方法如下
python2.7 安装 PIL pip install PIL
python3+ 安装PIL pip install pillow
-------------------------------------------------------------------
python3 安装 cv2 ,Opencv
到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
浙公网安备 33010602011771号