django我感觉应该是安装成功了的,已经生成了目录结构,并且导入MySQLdb也没有问题,但是我在执行ipythonmanage.pyshell就报错下面的结果:---------------------------------------------------------------------------ImportErrorTraceback(mostrecentcalllast)/Library/Python/2.7/site-packages/IPython/utils/py3compat.pycinexecfile(fname,*where)202else:203filename=fname-->204__builtin__.execfile(filename,*where)/Users/daodao/Desktop/djangoproject/manage.pyin() 6os.environ.setdefault("DJANGO_SETTINGS_MODULE","djangoproject.settings")7---->8fromdjango.core.managementimportexecute_from_command_line910execute_from_command_line(sys.argv)ImportError:Nomodulenameddjango.core.management另外,我在Python开发环境下尝试:importdjango.dbMac上直接弹窗『"Python"意外退出』——>好/重新打开怎么破啊?????
慕婉清6462132
拉莫斯之舞
相关分类