pip-and-virtualenv removes system python packages on fedora 29 but some tools require them
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
diskimage-builder |
Fix Released
|
Undecided
|
Ian Wienand |
Bug Description
on fedora29, pip installs into separate locations. Several tools run with "/usr/bin/python3 -Es" which removes the pip path from the invocation.
pip-and-virtualenv has cleared out the system versions of pip/virtualenv etc in an effort to not have them conflict. But now these system tools can't find important packages, leading to things like
---
[root@fedora-
Python 3.7.2 (default, Jan 3 2019, 09:14:01)
[GCC 8.2.1 20181215 (Red Hat 8.2.1-6)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import seobject
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/
import sepolicy
File "/usr/lib/
import setools
File "/usr/lib64/
from .permmap import PermissionMap
File "/usr/lib64/
import pkg_resources
ModuleNotFoundE
>>>
---
Fix proposed to branch: master /review. openstack. org/633141
Review: https:/