gpt4 book ai didi

python - 如何整合 Django 和 Cygwin?

转载 作者:太空狗 更新时间:2023-10-29 18:31:04 26 4
gpt4 key购买 nike

我有一个安装了 cygwin、python 和 django 的 Windows 机器。

现在我想运行 django-admin,但是当我运行时出现错误:

$ django-admin.py
c:\Python26\python.exe: can't open file '/usr/bin/django-admin.py': [Errno 2] No such file or directory

最佳答案

来自 here

For Windows users, who do not have symlinking functionality available, you can copy django-admin.py to a location on your existing path or edit the PATH settings (under Settings - Control Panel - System - Advanced - Environment...) to point to its installed location.

希望对你有帮助

关于python - 如何整合 Django 和 Cygwin?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/533125/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com