Problems with Ubuntu 22.04/DistUtils - Python 3.10+
Created by: ravenpi
Distutils -- which, apparently, has been deprecated (https://docs.python.org/3/library/distutils.html) -- seems to have had some breaking changes, at least in Ubuntu 22.04:
ken@hal ~ $ rm -rf .bashhub/ ken@hal ~ $ curl -OL https://bashhub.com/setup && bash setup % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 8699 100 8699 0 0 36129 0 --:--:-- --:--:-- --:--:-- 36245 Using Python path /usr/bin/python3.9 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 100 10.7M 100 10.7M 0 0 4462k 0 0:00:02 0:00:02 --:--:-- 18.1M Pulling down bashhub-client from 2.2.0 branch Pulling down a few dependencies...(this may take a moment) Traceback (most recent call last): File "/home/ken/.bashhub/bashhub-client-2.2.0/../env/bin/pip", line 5, in from pip._internal.cli.main import main File "/home/ken/.bashhub/env/lib/python3.9/site-packages/pip/_internal/cli/main.py", line 9, in from pip._internal.cli.autocompletion import autocomplete File "/home/ken/.bashhub/env/lib/python3.9/site-packages/pip/_internal/cli/autocompletion.py", line 10, in from pip._internal.cli.main_parser import create_main_parser File "/home/ken/.bashhub/env/lib/python3.9/site-packages/pip/_internal/cli/main_parser.py", line 8, in from pip._internal.cli import cmdoptions File "/home/ken/.bashhub/env/lib/python3.9/site-packages/pip/_internal/cli/cmdoptions.py", line 23, in from pip._internal.cli.parser import ConfigOptionParser File "/home/ken/.bashhub/env/lib/python3.9/site-packages/pip/_internal/cli/parser.py", line 12, in from pip._internal.configuration import Configuration, ConfigurationError File "/home/ken/.bashhub/env/lib/python3.9/site-packages/pip/_internal/configuration.py", line 26, in from pip._internal.utils.logging import getLogger File "/home/ken/.bashhub/env/lib/python3.9/site-packages/pip/_internal/utils/logging.py", line 13, in from pip._internal.utils.misc import ensure_dir File "/home/ken/.bashhub/env/lib/python3.9/site-packages/pip/_internal/utils/misc.py", line 40, in from pip._internal.locations import get_major_minor_version, site_packages, user_site File "/home/ken/.bashhub/env/lib/python3.9/site-packages/pip/_internal/locations/init.py", line 14, in from . import _distutils, _sysconfig File "/home/ken/.bashhub/env/lib/python3.9/site-packages/pip/_internal/locations/_distutils.py", line 9, in from distutils.cmd import Command as DistutilsCommand ModuleNotFoundError: No module named 'distutils.cmd'
Unsure where to go with this (I'm a Ruby guy, not Python)