依赖安装:

1、flask

2、flask_sqlalchemy 

--需要安装flask-mysqldb  安装时提示mysql_config not found ,使用:yum install mysql-devel gcc gcc-devel python-devel 解决, 

再次安装还报错:ImportError: 'module' object has no attribute 'check_specifier' ,使用:pip install --upgrade setuptools==30.1.0 解决(升级pip版本)

3、

 

启动:

1、启动时报错中文错误,要使用python3来启动项目

相关文章:

  • 2022-12-23
  • 2021-11-06
  • 2021-08-30
  • 2021-12-04
  • 2021-12-04
  • 2022-12-23
  • 2021-12-28
  • 2021-11-30
猜你喜欢
  • 2021-09-07
  • 2021-11-16
  • 2022-12-23
  • 2022-12-23
  • 2021-08-30
  • 2022-12-23
相关资源
相似解决方案