Open wowkin2 opened 7 years ago
This issue was also reported in pypa/pip#4234. I'm fairly certain the issue would not have occurred if the setuptools you're upgrading was not a zip egg. It's conceivable that the issue could be fixed in pkg_resources. Someone will have to delve further to ascertain the underlying cause and devise a solution.
I was getting this exact problem with the same stack trace (slightly different line numbers which I think is due to this being 2019 and the issue was reported in 2017.
I used pip's --force-reinstall to make it work.
But it works find if I removed
-U
: