I\'m attempting to install python3.6 on my machine after I currently have python3.4. However, after installation trying to run pip under python3.6 gives me the
I could not solve it by running
python3 get-pip.py
or
pip3 install --upgrade
because there I already had issues with pkg_resources.py. Also re-installing the python3-setuptools package from Ubuntu did not help as this still seems to install the one for the version originally installed with the Ubuntu system (3.4 in my case) but I could solve it by manually installing the setuptools via
wget https://bootstrap.pypa.io/ez_setup.py -O - | python3
Note: python3 points to my new python version 3.6. If thats not the case for you then you would need to run
wget https://bootstrap.pypa.io/ez_setup.py -O - | python3.6