excid3 / excid3/python-apt

AttributeError: 'module' object has no attribute 'split'

未关闭
#1 2 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
C++
星标
67
派生
42
PR 合并指标
30 天内没有已合并 PR

描述

```
% sudo pip3 install -U python-apt
Collecting python-apt
Downloading python-apt-0.7.8.tar.bz2 (49kB)
100% |████████████████████████████████| 53kB 1.2MB/s
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 20, in
File "/tmp/pip-build-3wzlbss1/python-apt/setup.py", line 11, in
string.split(parse_makefile("python/makefile")["APT_PKG_SRC"]))
AttributeError: 'module' object has no attribute 'split'
```

So, even though I'm using pip3, the deprecated `string.split` call is in the code.

贡献指南

这个仓库没有索引到贡献指南

调研方向

该失败在 setup.py 第 11 行被报告,而输入来自 python/makefile。重现 pip3 install 安装失败,检查该 setup 路径,并验证在 Python 3 上安装能够完成且不会出现 AttributeError。

由索引模型根据 Issue 内容生成。

评估

技术栈
python
领域
build-system
Issue 类型
缺陷
难度
1/5
预计耗时
1 小时以内
活跃度
停滞
描述清晰度
描述清楚
新手友好度
55/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。