无法通过命令提示符 运行 "python manage.py runserver"

Can't run "python manage.py runserver" via command prompt

我想 运行 "python manage.py runserver",这样做时我收到错误 "Watchman unavailable: pywatchman not installed.."。通过键入 pip install pywatchman 安装 pywatchman 时,我收到错误消息“Failed building wheel for pywatchman”

请任何人提供解决方案

您可以考虑为您的项目使用单独的环境。这样所有依赖项都匹配。

这里是 description 如何使用 conda 环境。

这种方法的好处是您可以随时更改软件版本(例如 python),而不会影响您的其他项目。

此外,您可以像以前一样在其中使用 pip