无法使用 manage.py 快捷方式从 PyCharm 打开 Django shell
Can't open Django shell from PyCharm using manage.py shortcut
我可以 运行 Django shell 直接从 PyCharm 中的终端,但我不能 运行 从 manage.py 快捷方式(工具 -> manage.py 任务 -> shell)。但是我可以使用这个快捷方式进行任何其他操作。
当我尝试 运行 它使用第二种方式时,没有任何反应。
我正在使用 Django 1.7 和 PyCharm 4.0.2。
尝试 PyCharm 首选项。
Project: --> Project Interpreter --> -->
Ensure the correct python environment
还要仔细检查
下的设置
Build, Execution, Deployment --> Console --> Python Console
我可以 运行 Django shell 直接从 PyCharm 中的终端,但我不能 运行 从 manage.py 快捷方式(工具 -> manage.py 任务 -> shell)。但是我可以使用这个快捷方式进行任何其他操作。
当我尝试 运行 它使用第二种方式时,没有任何反应。
我正在使用 Django 1.7 和 PyCharm 4.0.2。
尝试 PyCharm 首选项。
Project: --> Project Interpreter --> --> Ensure the correct python environment
还要仔细检查
下的设置Build, Execution, Deployment --> Console --> Python Console