排坑日志:宝塔2.0-- Python3.8.3 --django==2.2.*

排坑:宝塔2.0-- Python3.8.3 --django==2.2.*
---------------------提示uWSGI 在root下运行解决办法:
*** WARNING: you are running uWSGI as root !!! (use the --uid flag) *** 

修改uwsgi.ini  ---WARNING消失
uid=www
gid=www

----------------------主页面可访问--500服务器内部错误(Internal server error):
日志:提示1:
django.core.exceptions.ImproperlyConfigured: SQLite 3.8.3 or later is required (found 3.7.17).
raise ImproperlyConfigured('SQLite 3.8.3 or later is required (found %s).' % Database.sqlite_version
check_sqlite_version() File "/www/jddocLinux/jdDoc8/md5xxxxxxxxxxxxxxxxxxxx/lib/python3.8/site-packages/django/db/backends/sqlite3/base.py", line 63, in check_sqlite_version
vim Line 63修改为:if Database.sqlite_version_info < (3, 6, 3): 服务器内部错误问题解决但有子目录 404  with 语句不执行问题

出现sqlite3 --version , 3.35 , 然后虚拟换机 python 中 import sliqte3 然后 sqlite3.version 也是 3.35 , 但 uw

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值