You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

安装django-classy-tags遇ValueConstraintError,寻求技术支持

Installing django-classy-tags raises unrecognized ValueConstraintError on Python 2.7 + Django 1.10.4

I'm stuck with an unrecognized ValueConstraintError when trying to install django-classy-tags, and I haven't found any relevant solutions online to fix this issue.

My Environment

  • Python version: 2.7
  • Django version: 1.10.4

The Installation Command I Ran

I used this pip command to install the package:

sudo pip install django-classy-tags

Background Checks

I've gone through the official django-classy-tags installation documentation but didn't find any hints related to this error.

Truncated Pip Download Log

Here's the partial download log output from pip:

Downloading/unpacking django-classy-tags
Getting page https://pypi.python.org/simple/django-classy-tags/
URLs to search for versions for django-classy-tags:
* https://pypi.python.org/simple/django-classy-tags/
Analyzing links from page https://pypi.org/simple/django-classy-tags/
Found link https://files.pythonhosted.org/packages/e9/cf/59cc87cffc27cb374f245f15038463b8d5991e537872c089c0bf2458d288/django-classy-tags-0.1.0.tar.gz#sha256=c2d5ad6131dd89a9cdd931561ed0c3002ceb75ae7527fcc33e6b19f8dd090dde (from https://pypi.org/simple/django-classy-tags/), version: 0.1.0
Found link https://files.pythonhosted.org/packages/d5/d7/a4eba2805a21cf55219ccc8cd443f89e43ab5e508dd3056aaf579e70d87a/django-classy-tags-0.1.1.tar.gz#sha256=0286b3b7844c40f7ba35e787467572063f682d581cfa80c893da1a79394d7909 (from https://pypi.org/simple/django-classy-tags/), version: 0.1.1
Found link https://files.pythonhosted.org/packages/43/a8/c00ad565539fb18521566f1b4a63b21dfd30c86d3fc3349f9baaec0afe89/django-classy-tags-0.1.2.tar.gz#sha256=9927576d40cca9367b92c5253a82368cc71aea959f8668d3ca673e921e6e2865 (from https://pypi.org/simple/django-classy-tags/), version: 0.1.2
Found link https://files.pythonhosted.org/packages/f8/85/dc5c70c2e21568847beb75086c1b3e3e5739aca5d25a129f07c0eebca393/django-classy-tags-0.1.3.tar.gz#sha256=2dc8f8a0592241dcb343f22cd249a01ef6fbb40a411e71e1d3f6a10303565231 (from https://pypi.org/simple/django-classy-tags/), version: 0.1.3
Found link https://files.pythonhosted.org/packages/57/a8/5d1117785586a2e59aa202ddc7e5069c7b7b88bc6a5ac0659e981b12e9b3/django-classy-tags-0.2.0.tar.gz#sha256=d868a862dd6a5f4dd232fbb6598c9bdef832a8d34bfe8bff2ad39e1ed8680af2 (from https://pypi.org/simple/django-classy-tags/), version: 0.2.0
Found link https://files.pythonhosted.org/packages/84/ba/84d71fa5ee2503ef0dfb5ae3c96f8e3efb35ac5fdc99c21d085a420f926e/django-classy-tags-0.2.1.tar.gz#sha256=b01df591fca1fdf44eb968b97e8f664df77687abe90e7842bb1d1e2c748dabf3 (from https://pypi.org/simple/django-classy-tags/), version: 0.2.1
Found link https://files.pythonhosted.org/packages/6a/6b/d2522547b22da30f4fe70b8f71500678dacc6ce603d8849f33afe37855be/django-classy-tags-0.2.2.tar.gz#sha256=182b480d14a296528af2bdd98bf490025356ccfe14efba2af80c969cb3e10887 (from https://pypi.org/simple/django-classy-tags/), version: 0.2.2
Found link https://files.pythonhosted.org/packages/c9/fb/60026df54b571f3ca9410e733346e10a2fa7fd416fa7694415e6844d9124/django-classy-tags-0.3.0.tar.gz#sha256=52502dceaaa4aca79729644128af8b61d5e1ff1ad1671389e19a6da660022524 (from https://pypi.org/simple/django-classy-tags/), version: 0.3.0
Found link https://files.pythonhosted.org/packages/9d/08/0f3bd91a6844f8112624396a2a9045b20d0ea9099dfc311d5d4dec18cd43/django-classy-tags-0.3.1.tar.gz#sha256=5d6b06a6f88afd839d5f251465a3fcfe9dde050eece30817ef6968643ba48967 (from https://pypi.org/simple/django-classy-tags/), version: 0.3.1
Found link https://files.pythonhosted.org/packages/07/22/f46057e5c66951b6f682e83f6456d1da30bdf208fc6c8bf98354d24a3fa9/django-classy-tags-0.3.2.tar.gz#sha256=6ba8f49b9d43e70dd6d994f2af0a4f040072cbb562252a3606c3e71eed4bd6a1 (from https://pypi.org/simple/django-classy-tags/), version: 0.3.2
Found link https://files.pythonhosted.org/packages/35/f1/b2e5d7d207d0b21e356f79ee075014a9854641009dd96afb71b30c0efb4f/django-classy-tags-0.3.3.tar.gz#sha256=4e343170448088a2f2b57c72c5884b864efef8a093500765287692fb77d2d511 (from https://pypi.org/simple/django-classy-tags/), version: 0.3.3
Found link https://files.pythonhosted.org/packages/4c/b1/ed6e08020cd198d932cd9c72c987dbd82a493b3174f4e1a1abb095e597b7/django-classy-tags-0.3.3.1.tar.gz#sha256=69b6eb704e6ab9711a923e93039b7b658f9a086b990162bb78379342be763d70 (from https://pypi.org/simple/django-classy-tags/), version: 0.3.3.1
Found link https://files.pythonhosted.org/packages/ae/f7/248d6b9b2beb5293a58fb8f07c47cd9b6c5591d79f00d2aecb8e4470c181/django-classy-tags-0.3.4.tar.gz#sha256=4f2b635ebe7b941290561f6d4a111eac5570b56ec57e30cdb1aa606a916a3c9f (from https://pypi.org/simple/django-classy-tags/), version: 0.3.4
Found link https://files.pythonhosted.org/packages/14/d1/10928c2cc60e0c22cde3e613228a9a2f694cdd9a51edaad3a2e2aad3ae21/django-classy-tags-0.3.4.1.tar.gz#sha256=5ca2e8df0079

I’d really appreciate any insights into what’s causing this ValueConstraintError and how to resolve it so I can successfully install the package.


内容的提问来源于stack exchange,提问作者Harald Mandl

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.28 09:45:35