今天使用到mysql数据库,又用到了老朋友mycli。

但是使用pip下载之后运行就会报错,cannot import name 'convert_mysql_timestamp'。

卸载了mycli和pymysql都没有效果,在查了一个大哥的博客后,发现是,默认安装的pymsql的版本太高了。

安装pip install pymysql==0.9.2

使用这个版本就么有问题,也记录一下。mycli 安装之后报错(cannot import name ‘convert_mysql_timestamp‘),解决方法

相关文章:

  • 2021-09-13
  • 2022-12-23
  • 2021-06-08
  • 2021-07-09
  • 2022-01-24
  • 2021-05-25
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-12-28
  • 2021-10-29
  • 2021-09-11
  • 2022-12-23
  • 2021-09-22
  • 2021-05-27
  • 2022-12-23
相关资源
相似解决方案