摘要:
pip3安装uwsgi报错 复现 pip3 install uwsgi -i https://pypi.tuna.tsinghua.edu.cn/simple 原因 根据日志提示,报错原因是找不到Python.h文件 解决 # Python 3.6 yum install -y gcc python
阅读全文
posted @ 2021-12-07 16:22
凉城旧巷
阅读(122)
推荐(0)
编辑
摘要:
Django部署时STATIC/MEDIA配置 一、DEBUG=True模式 开发环境,即 DEBUG=True 在settings.py中配置 STATIC_URL = '/static/' STATICFILES_DIRS = [ os.path.join(BASE_DIR, "static")
阅读全文
posted @ 2021-12-07 11:19
凉城旧巷
阅读(570)
推荐(0)
编辑