AttributeError: 'module' object has no attribute 'split'
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 55/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Stale
- Tech stack
- python
- Domain
- build-system
Research direction
The failure is reported in setup.py line 11, while the input comes from python/makefile. Reproduce the pip3 install failure, inspect that setup path, and verify that installation completes without the AttributeError on Python 3.
Written by the indexing model from the issue text.
Description
% 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 "<string>", line 20, in <module>
File "/tmp/pip-build-3wzlbss1/python-apt/setup.py", line 11, in <module>
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.
- Dominant language
- C++
- Stars
- 67
- Forks
- 42
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from excid3/python-apt
-
Difficulty 4/5 3-5 days Newbie friendliness 20/100
excid3/python-apt#10 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
excid3/python-apt#8 ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
excid3/python-apt#7 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
excid3/python-apt#6 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
excid3/python-apt#5 ·
All issues in excid3/python-apt
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
duckdb/duckdb-wasm#2258 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
objectionary/eo-graphs#75 ·
-
Coarray integration tests carry no LABELS, so run_tests.py silently skips them under every backend Opencoarray
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
FISCO-BCOS/FISCO-BCOS#5642 ·