-
Type: Bug
-
Resolution: Fixed
-
Priority: Unknown
-
Affects Version/s: None
-
Component/s: None
Observed to fail in this patch, followed by success in this patch.
Traceback (most recent call last): File "/usr/lib64/python3.8/runpy.py", line 194, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib64/python3.8/runpy.py", line 87, in _run_code exec(code, run_globals) File "/usr/local/lib/python3.8/site-packages/virtualenv.py", line 2349, in <module> main() File "/usr/local/lib/python3.8/site-packages/virtualenv.py", line 703, in main create_environment(home_dir, File "/usr/local/lib/python3.8/site-packages/virtualenv.py", line 929, in create_environment install_distutils(home_dir) File "/usr/local/lib/python3.8/site-packages/virtualenv.py", line 1507, in install_distutils distutils_path = change_prefix(distutils.__path__[0], home_dir) File "/usr/local/lib/python3.8/site-packages/virtualenv.py", line 1043, in change_prefix assert False, "Filename %s does not start with any of these prefixes: %s" % \ AssertionError: Filename /home/mci-exec/.local/lib/python3.8/site-packages/setuptools/_distutils does not start with any of these prefixes: ['/usr', '/usr']
Potential workarounds include upgrading seed packages, using a newer Python version, or using the venv module instead of virtualenv.