question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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:closed
  • Created 7 years ago
  • Reactions:4
  • Comments:18 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
pfmoorecommented, Oct 28, 2016

To get a hotfix, just install the current master from github.

1reaction
lennybecommented, Jun 21, 2016

Simple workaround #sudo pip uninstall _ipap11helper

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found