pip update error
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- python
- Domain
- operating-systems, tooling
Research direction
Start with the reported pip install output and inspect setup.py, especially its call to parse_makefile for python/makefile. Compare the expected source layout with the python-apt package being downloaded, then verify whether the upgrade completes without the missing-file error.
Written by the indexing model from the issue text.
Description
root@ubuntu:~/source/fail2ban# pip list | grep python-apt
python-apt (0.9.3.5ubuntu2)
root@ubuntu:~/source/fail2ban# pip install --upgrade python-apt
Collecting python-apt
Using cached python-apt-0.7.8.tar.bz2
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-fPcLQq/python-apt/setup.py", line 11, in <module>
string.split(parse_makefile("python/makefile")["APT_PKG_SRC"]))
File "/usr/lib/python2.7/distutils/sysconfig.py", line 304, in parse_makefile
fp = TextFile(fn, strip_comments=1, skip_blanks=1, join_lines=1)
File "/usr/lib/python2.7/distutils/text_file.py", line 103, in __init__
self.open (filename)
File "/usr/lib/python2.7/distutils/text_file.py", line 120, in open
self.file = open (self.filename, 'r')
IOError: [Errno 2] No such file or directory: 'python/makefile'
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-fPcLQq/python-apt/
how can i solve it?
- 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 76/100
objectionary/eo-graphs#74 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 95/100
-
enhancement
Difficulty 1/5 Under an hour Newbie friendliness 88/100
QuantStack/git2cpp#187 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100