报错

报错信息:

Cryptograph yDeprecation Warning: Python3.6 is no longersupported by the Python core team Therefore support for it is deprecated in cryptography and will be removed in a future release from cryptography.hazmat.backends import default_backend

解决方法:

  终端运行这行命令:

    pip3 install -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com  cryptography==36.0.2

 

django运行错误

django.core.exceptions.ImproperlyConfigured: Requested setting DEFAULT_INDEX_TABLESPACE, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings

解决方法:

 

 运行位置别错了

下载模块报错了

ERROR: Could not find a version that satisfies the requirement matplotlib (from versions: none)
ERROR: No matching distribution found for matplotlib

可以临时换源解决:

pip install 包名-i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com

posted @ 2022-08-19 19:27  stephen_hao  阅读(197)  评论(0编辑  收藏  举报