pip freeze:Invalid requirement, parse error at "'-ipap11h'"
See original GitHub issue- Pip version: 8.1.2
- Python version: 2.7.5
- Operating System: Centos 7
Description:
While trying to run pip freeze
I got this message:
Exception:
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/pip/basecommand.py", line 215, in main
status = self.run(options, args)
File "/usr/lib/python2.7/site-packages/pip/commands/freeze.py", line 85, in run
for line in freeze(**freeze_kwargs):
File "/usr/lib/python2.7/site-packages/pip/operations/freeze.py", line 47, in freeze
dependency_links
File "/usr/lib/python2.7/site-packages/pip/__init__.py", line 264, in from_dist
req = dist.as_requirement()
File "/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.py", line 2562, in as_requirement
return Requirement.parse(spec)
File "/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.py", line 2833, in parse
req, = parse_requirements(s)
File "/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.py", line 2781, in parse_requirements
yield Requirement(line)
File "/usr/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.py", line 2790, in __init__
raise RequirementParseError(str(e))
RequirementParseError: Invalid requirement, parse error at "'-ipap11h'"
What’s the ‘ipap11h’
Issue Analytics
- State:
- Created 7 years ago
- Reactions:4
- Comments:18 (9 by maintainers)
Top Results From Across the Web
git bash - Invalid requirement - Stack Overflow
Try pip list --format=freeze > requirements.txt and rerun. It looks like this is caused by changing the behavior of pip freeze .
Read more >Issue #5895: _ipap11helper causing problems with pip - freeipa ...
pip list |grep ipap11 -ipap11helper (0.1) # pip freeze cinder Exception: ... RequirementParseError: Invalid requirement, parse error at "'-ipap11h'".
Read more >Invalid requirement: 'pip freeze > requirements.txt' - Dash Python
Hi, I've built a page of dash dashboard installed on an Alicloud GPU ubuntu 16.04 nstance and wanna share the URL.
Read more >python_paramiko_SSHException Invalid requirement, parse ...
不加sleep(0.5)会出现SSHException: Invalid requirement, parse error at " '' "问题,原因暂时未知。 · 结论如下.
Read more >[CentOS] pip freeze 出現parse error at "'-ipap11h'" 的問題
今天在CentOS 7 上,想用pip freeze 看一下目前有安裝的python 模組,. 遇到了奇怪的錯誤訊息,說 Invalid requirement, parse error at “'-ipap11h'” ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
To get a hotfix, just install the current master from github.
Simple workaround #sudo pip uninstall _ipap11helper