

I still get the same error when trying to run pip. Uninstalling and installing python3.6 again doesn't help. I now get the following problem: Requirement already up-to-date: pip in /usr/local/lib/python3.4/dist-packages (18.0) However, when I run the command: sudo pip3 install -upgrade pip Register_loader_type(importlib_bootstrap.SourceFileLoader, DefaultProvider)ĪttributeError: module 'importlib._bootstrap' has no attribute 'SourceFileLoader'

Return _get_module_details(pkg_main_name, error)įile "/usr/lib/python3.6/runpy.py", line 109, in _get_module_detailsįile "/usr/lib/python3/dist-packages/pip/_init_.py", line 59, in įile "/usr/lib/python3/dist-packages/pip/log.py", line 9, in įile "", line 955, in _find_and_load_unlockedįile "", line 626, in _load_backward_compatibleįile "/usr/share/python-wheels/圓-none-any.whl/pkg_resources.py", line 1479, in
#Ubuntu python 3.6 install pip code#
Mod_name, mod_spec, code = _get_module_details(mod_name, _Error)įile "/usr/lib/python3.6/runpy.py", line 142, in _get_module_details However, when I try to use pip from inside this using python3.6 -m pip -version, I get the following error: Traceback (most recent call last):įile "/usr/lib/python3.6/runpy.py", line 183, in _run_module_as_main When I follow the instructions in the answer (add deadsnakes repository, apt-get update, sudo apt-get install python3.6), it seems to work, i.e I can run the command python3.6 and the interpreter fires up. My system is the following (it's on c9.io): $ lsb_release -a I am trying to install Python 3.6 as per this answer, but I seem to be having troubles.
