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?

注意:本文所提供的解决办法只是其中一种,产生错误的原因不尽相同,所以要具体问题具体分析。希望能帮助到大家。