gpt4 book ai didi

python - 如何安装djangospirit?我收到错误命令未找到 : spirit

转载 作者:行者123 更新时间:2023-11-30 22:28:07 25 4
gpt4 key购买 nike

我尝试使用安装 djangospirit

mkvirtualenv env -p /usr/bin/python3
pip install django-spirit
spirit startproject mysite

但出现错误:

spirit command not found

有什么解决办法吗?

最佳答案

默认情况下,您从 pip 安装了 spirit==0.4.8 版本,但在新的 0.5 版本中添加了命令 spirit,因此您应该从 git repo 安装:

pip install git+https://github.com/nitely/Spirit.git

关于python - 如何安装djangospirit?我收到错误命令未找到 : spirit,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46723782/

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