I have installed Python 3.5.5 on my raspberry Pi 3 (Raspbian - jessie) following 2nd answer from this post. Python installed.
[EDIT]
but the installation folder is located in /home/pi/Python-3.5.5. So, question no.1: Is it a recommended place for it?
/home/pi/Python-3.5.5 is the remaining folder after installation
Number 2 is: There seems to be a problem with missing bits in /usr/bin.
The assumed missing bits are in /usr/local/bin
[/EDIT]
Because there are many python versions, I needed to do
update-alternatives --install /usr/bin/python python /usr/bin/python2.7 1
later, i did
update-alternatives --install /usr/bin/python python /usr/bin/python3.4 2
so, now after typing
update-alternatives --list python
I have:
/usr/bin/python2.7
/usr/bin/python3.4
which is fine. When I do:
python --version
it tells me
Python 3.4.2
Fantastic, anyway I would like to run Python 3.5 as default, (there is no python3.5 file in /usr/bin) so I did:
[EDIT]
update-alternatives --install /usr/bin/python python /home/pi/Python-3.5.5/python 3
This was done wrong way: as mentioned earlier /home/pi/Python-3.5.5/ is the remaining folder after installation. Instead, should be:
update-alternatives --install /usr/bin/python python /usr/local/bin/python3.5 3
[/EDIT]
now, python --version
does what I desired:
Python 3.5.5
but trying to
python -mpip install [something]
gives me
/usr/bin/python: No module named pip
But trying to install python3-pip say:
python3-pip is already the newest version
And, finally the main question: How to get pip working in current situation?
pip3rather thanpip.