apt-get install packages introduces lots of python errors on Ubuntu
apt-get install packages introduces lots of python errors on Ubuntu Question: apt-get install -y my_package Everything works until Setting up my_package… And lots of python errors like the below appeared: Compiling ./ext/python3.9/lib/python3.9/site-packages/setuptools/installer.py … File "./ext/python3.9/lib/python3.9/site-packages/setuptools/installer.py", line 77 raise DistutilsError(str(e)) from e ^ SyntaxError: invalid syntax I suspect it has something to do with python versions …