Discuss / Python / aiomysql

aiomysql

Topic source

请问aiomysql不支持3.5.3以下的python版本, 你们是怎么解决的

我刚刚也是解决这个问题,太坑了。因为安装的python3默认是3.5.3,所以自己需要安装一个python3.6

安装好3.6后,pip3安装的目录又是3.5的不和3.6对应。

这是解决了我问题的地址:https://www.cnblogs.com/weiyiming007/p/9075986.html

落下维幕

#3 Created at ... [Delete] [Delete and Lock User]

重新装3.6的版本,然后运行pip时,都用

python3.6 -m pip install xxx

安装即可。

你好, schema.sql这个文件我没有找到?能共享一份吗?谢谢!

您好,我在ubuntu上升级了python3.6,使用pip3安装库时一直有AttributeError: module 'importlib._bootstrap' has no attribute 'SourceFileLoader'这个错误,请勿有遇到的吗?

我也是AttributeError: module 'importlib._bootstrap' has no attribute 'SourceFileLoader'。怎么解决的

装完python3.6还得装python3.6-dev,不然pip装其他包会出错

sudo apt-get install python3.6-dev

还有sudo apt-get install libssl-dev

被这条评论坑了一晚上,最后用python3.5部署成功了,并不存在装不上aiohttp的问题,楼主可能是安装顺序导致的依赖错误。比如先装了一个版本更新的模块,导致依赖这个模块教旧版本的模块安装不上。

程朗-_-z

#10 Created at ... [Delete] [Delete and Lock User]

问题真的多,而且教程说得也不详细,导致跳过哪一步,后面都没法做


  • 1
  • 2

Reply