Mariatta <maria...@python.org> added the comment:

Just wanted to add that I got the same error in Python 3.8.1. 

I ran the script that @Jaraco wrote above:

python -c "import importlib.metadata, shutil, pathlib; file = 
pathlib.Path(importlib.metadata.__file__); str(file).endswith('__init__.py') 
and shutil.rmtree(file.parent) and print('removed', file.parent)"

I wonder if the fix (e.g. running the script above) should be more visible, 
perhaps in some documentation somewhere, instead of having to dig this up from 
the bugtracker.

Is it possible for the Python installer itself to execute that script?

Thanks.

----------
nosy: +Mariatta

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue38342>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to