I installed Python 3.4 with this website. (I installed it with sudo apt-get python3.4)
IT finished without any problems and if I type:
python --version
I get back:
python 3.4.4
But if I then want to make something with PIP3 it says:
-bash: pip3: command not found
Trying it for pip brings the same.
I need pip3 to install Adafruit-Blinka
What can I do?
I also tryed:sudo apt-get install python-pip
This installs normal pip, there seems to be no install for pip3.
Thanks!
sudo apt-get install python3-pip
This should install pip3
for managing Python3 libraries. If you're using rasbian that is.
python-pip
is for Python2 if you need that too.
pip and python are two separate entities. There for installing one doesn't necessarily mean the other will be installed.
Some good documentation on the matter can be found at raspberrypi.org
And others have asked the same question on the official forums.
Just remember, most "safe" distro's tend to default to Python2 for their LTS platforms. Meaning you will have to essentially add python3-<lib>
(the 3
being the crucial element here) to all your installations. Otherwise you'll most likely get the Python2 equivilant of the library/tool. Like in this case.
Again, I'm using Arch Linux ARM for the most part, so I'm not to familiar with debian/ubuntu/etc distro's for the RPi platform. But that package should be called about the same as in Arch :)
pip3 install RPI.GPIO
It didn't report back an error. So it seems it is working now, although the installation doesn't output any code. But will wait a bit. Thank you!
It worked, thanks - Timothy Lukas H. 2018-11-07 18:23
It looks like the correct command name to use is: pip-3.2.
pip != python
likewise,pip3 != python3
. pip is a separate tool used to manage libraries for python :)sudo apt-get install python3-pip
should solve this - Torxed 2018-11-07 18:16