diff --git a/tools/fixup_stuff.sh b/tools/fixup_stuff.sh index eb8a76f276..7e5ae75831 100755 --- a/tools/fixup_stuff.sh +++ b/tools/fixup_stuff.sh @@ -82,6 +82,14 @@ function fixup_ubuntu { # Enable universe sudo add-apt-repository -y universe + + # Since pip10, pip will refuse to uninstall files from packages + # that were created with distutils (rather than more modern + # setuptools). This is because it technically doesn't have a + # manifest of what to remove. However, in most cases, simply + # overwriting works. So this hacks around those packages that + # have been dragged in by some other system dependency + sudo rm -f /usr/lib/python3/dist-packages/PyYAML-*.egg-info } # Python Packages

AltStyle によって変換されたページ (->オリジナル) /