如何解决安装Django-simple历史的问题?

发布于 2025-01-28 21:14:53 字数 239 浏览 3 评论 0 原文

在我的项目中,我需要使用 django-simple-History ,但是当我运行命令时: pip pip install django-simple-History 我遇到了错误:

无法为Django-simple历史建造车轮,这是安装pyproject.toml的项目

所需的

所需 解决方案,请提前谢谢您。

In my project I need to use django-simple-history but when I run the command: pip install django-simple-history I got the ERROR:

Could not build wheels for django-simple-history, which is required to install pyproject.toml-based projects

See complete log

Any solutions please, thank you in advance.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

你对谁都笑 2025-02-04 21:14:53

检查是否需要安装Python和Django版本()。
尝试安装早期版本的Django-simple历史,用于Windows:

py -m pip install django-simple-history=="3.0.0"

Check if you have required Python and Django versions installed ( https://django-simple-history.readthedocs.io/en/latest/ ).
Try to install earlier version of django-simple-history, for Windows:

py -m pip install django-simple-history=="3.0.0"
泛滥成性 2025-02-04 21:14:53

让我们看看这些步骤是否可以解决您的问题。

  1. 文件使用 /a>
python -m pip install ./path/to/file

最后但并非最不重要的一点,如果您认为这是一个错误,请考虑通过 github

Let's see if these steps could solve your problem.

  1. Download the files from PyPI
  1. Install the files using pip
python -m pip install ./path/to/file

Last but not least, If you think that is a bug, please consider to submit the issue via Github

疾风者 2025-02-04 21:14:53

确保禁用Windows中的路径长度限制:

“

Make sure you disable the path length limit in Windows:

Python Installation Screenshot

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文