解决Traceback (most recent call last): File “./manage.py“, line 17, in <module> “Couldn‘t import

Traceback (most recent call last):
  File "./manage.py", line 17, in
    "Couldn't import Django. Are you sure it's installed and "
ImportError: Couldn't import Django. Are you sure it's installed and available on your PYTHONPATH environment variable? Did you forget to activate a virtual environment?
 

clone了份代码,按照上边文档说的进行安装报错

说的是找不到python的环境变量

直接使用python3.7 manage.py makemigrations

解决~

你可能感兴趣的:(Python,WEB)