为了账号安全,请及时绑定邮箱和手机立即绑定

manage.py报错??

报错信息如下

Traceback (most recent call last):
  File "manage.py", line 8, in <module>
    from django.core.management import execute_from_command_line
ImportError: No module named 'django'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "manage.py", line 14, in <module>
    import django
ImportError: No module named 'django'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "manage.py", line 17, in <module>
    "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?

OS X系统 用的虚拟环境 python3.5 版本 

正在回答

3 回答

你先输入 python 看看是那个版本的。然后检查这个版本是够安装了django

0 回复 有任何疑惑可以回复我~
#1

leosun_ 提问者

已经自行解决
2017-09-02 回复 有任何疑惑可以回复我~
#2

NatsumeZ 回复 leosun_ 提问者

请问是怎么解决的?我也是Mac OS X系统下报的这个错误,求解答
2017-09-02 回复 有任何疑惑可以回复我~
#3

慕侠720857 回复 leosun_ 提问者

怎么解决的?
2017-09-23 回复 有任何疑惑可以回复我~

是Python当前版本的问题

0 回复 有任何疑惑可以回复我~

请问我也遇到这个问题,应该如何解决啊

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消
django入门与实践
  • 参与学习       65127    人
  • 解答问题       898    个

手把手带你进入Django开发的大门,充分领略Django的魅力

进入课程

manage.py报错??

我要回答 关注问题
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号