Juraj Fiala opened issue #575: pip2 fails to run with --filesystem=host at freedesktop-sdk / freedesktop-sdk

Juraj Fiala
2019-01-05T10:20:59Z

Context

I encountered this error when trying to run the flatpak-pip-generator tool inside the Sdk (running Silverblue, don’t have pip2 available on the host).

Description

When running pip2 inside the SDK, I get this:

sh-4.4$ pip2
Traceback (most recent call last):
File "/usr/bin/pip2", line 7, in <module>
from pip import main
ImportError: cannot import name main

Acceptance Criteria

/usr/bin/pip2 works.