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

标签 django python-3.x

我创建了一个Django项目“post_blog”,在其中创建了一个应用程序“blogs”。

C:Users/arpchauh/PycharmProjects/post_blog/blogs>python manage.py runserver
python: can't open file 'manage.py': [Errno 2] No such file or directory

最佳答案

manage.py应该位于根项目文件夹中,因此,如果您将cd转换为C:Users/arpchauh/PycharmProjects/post_blog,则应该能够运行该命令。

关于django - python : can't open file 'manage.py' : [Errno 2] No such file or directory,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56513153/

相关文章:

python - Django 的 CachedStaticFilesStorage 不散列文件 url

Django ORM : Conditional filtering

python-3.x - 转置 3D Numpy 数组

python - 使用现有的 pptx Python-Pptx 创建新的 pptx

python-3.x - 属性错误 : 'Conv2D' object has no attribute 'shape'

python - Struct.error : argument for 's' must be a bytes object, 已经提供

Django:仅用于登录页面的 HTTPS?

python - django 对象保存在开发中的 sqlite 和生产中的 mysql 中有所不同

python - 基于匹配对象的字符串替换 (Python)

django - 你如何从 Django 服务器端提交表单?