setup on Python 2.7 is starting to break
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 25/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- python
- 领域
- build-system
调研方向
使用 traceback 和注明的 pdfminer==20140328 workaround 重现 Python 2.7 安装失败。检查项目的依赖项和 setup 配置,以确定如何选择 pdfminer。当在不手动安装依赖项的情况下,Python 2.7 上的安装不再失败,并且已验证受支持的行为时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
Latest versions of pdfminer are no longer compatible with Python 2.7, which results in the install of pattern failing as well because pdfminer expects Python 3.6 or higher, but does not check for this.
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-6LDKdm/pdfminer/setup.py", line 71, in <module>
'Topic :: Text Processing',
File "pattern-test/.env/local/lib/python2.7/site-packages/setuptools/__init__.py", line 145, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/tmp/pip-install-6LDKdm/pdfminer/setup.py", line 11, in run
from pdfminer.cmapdb import convert_cmap
File "/tmp/pip-install-6LDKdm/pdfminer/pdfminer/cmapdb.py", line 22, in <module>
from .psparser import PSStackParser
File "/tmp/pip-install-6LDKdm/pdfminer/pdfminer/psparser.py", line 4, in <module>
from .utils import choplist
File "/tmp/pip-install-6LDKdm/pdfminer/pdfminer/utils.py", line 219, in <module>
0x00f8, 0x00f9, 0x00fa, 0x00fb, 0x00fc, 0x00fd, 0x00fe, 0x00ff,
File "/tmp/pip-install-6LDKdm/pdfminer/pdfminer/utils.py", line 187, in <genexpr>
PDFDocEncoding = ''.join(chr(x) for x in (
ValueError: chr() arg not in range(256)
Can be solved by installing pdfminer==20140328 first.
- 主要语言
- Python
- 星标
- 8.9k
- 派生
- 1.6k
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
clips/pattern 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 72/100
-
难度 1/5 1 小时以内 新手友好度 72/100
-
难度 1/5 1 小时以内 新手友好度 65/100
-
难度 1/5 1 小时以内 新手友好度 45/100
-
难度 4/5 3-5 天 新手友好度 30/100
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 82/100
-
难度 2/5 1-3 小时 新手友好度 88/100
use-agent-os/agent-os#3314 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
BasedHardware/omi#15662 · 1 条评论 ·
-
documentation help wanted
难度 2/5 1-3 小时 新手友好度 90/100
-
难度 2/5 1-3 小时 新手友好度 62/100
AiursoftWeb/AnduinOS-2#19 ·