Python教程

python: can‘t open file ‘manage.py‘: [Errno 2] No such file or directory

本文主要是介绍python: can‘t open file ‘manage.py‘: [Errno 2] No such file or directory,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!

python: can’t open file ‘manage.py’: [Errno 2] No such file or directory

**原因:**在A目录下执行“ python3 manage.py runserver x.x.x.x:1111”,但是manage.py不在A目录,在B目录,而B目录在A目录下面
**解决方法:**cd到B目录,执行“python3 manage.py runserver x.x.x.x:1111”

这篇关于python: can‘t open file ‘manage.py‘: [Errno 2] No such file or directory的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!