Biblion、Django 博客错误

发布于 2024-12-29 20:41:38 字数 351 浏览 1 评论 0原文

我正在尝试在本地计算机上安装 biblion,这是一个基于 django 构建的博客,然后上传它(但我确信那将是另一篇文章)。我已经安装了 required.txt,但每次我尝试同步数据库或运行服务器时,都会出现以下错误:“错误:一个或多个模型未验证: biblion.image: "image_path": 要使用ImageFields,您需要安装Python Imaging Library。从 http://www.pythonware.com/products/pil/ 获取它。"

任何知道发生了什么事吗?这似乎没有必要。

I am trying to install biblion, a blog built on django on my local computer, and then upload it (but that will be a different post I'm sure). I've installed the required.txt but everytime I try to sync the db, or run the server, it gives me this error: "Error: One or more models did not validate:
biblion.image: "image_path": To use ImageFields, you need to install the Python Imaging Library. Get it at http://www.pythonware.com/products/pil/ ."

Any idea what's going on? This seems like it shouldn't be necessary.

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

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

发布评论

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

评论(1

醉殇 2025-01-05 20:41:38

要使用 ImageFields,您需要安装 Python 成像库。
访问 http://www.pythonware.com/products/pil/

您需要安装 PIL。

To use ImageFields, you need to install the Python Imaging Library.
Get it at http://www.pythonware.com/products/pil/

You need to install PIL.

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