I have installed Python 3.5.5 on my raspberry Pi 3 (Raspbian - jessie) following 2nd answer from this post. Python installed.
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
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
which is fine. When I do:
it tells me
Fantastic, anyway I would like to run Python 3.5 as default, (there is no python3.5 file in /usr/bin) so I did:
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
does what I desired:
but trying to
python -mpip install [something]
/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?