因环境原因重装python,再次打开项目,提示如下报错。
代码语言:txt复制ImportError: Couldn't import Django. Are you sure it's installed and available on your PYTHONPATH environment variable? Did you forget to activate a vir
tual environment?
在pycharm的setting中,找如下是否安装Django,按照提示安装即可。