-2

Hello i am new to Raspberry pi, I set up Rasbian on my Raspberry pi3, python3.7 is set up by default on the software, so pip3 is directly calling python3.7 and setting up the libraries on python3.7.

I installed python3.5 on the OS, but I can not use pip3 for python3.5, since when I am using pip3 -V command it shows ( pip 19.2.1 from /usr/local/lib/python3.7/dist-packages/pip (python3.7))

My python3.5 has no pip file in /usr/local/lib/python3.5/site-packages

The question now how to make pip3 linked to python3.5 instead of python3.7.

Pang
  • 9,564
  • 146
  • 81
  • 122

1 Answers1

1

Type python3.5 in terminal and check if you are able see python 3.5 shell, if you do then install all packages using command

python3.5 -m pip install "package-name"

clubby789
  • 2,543
  • 4
  • 16
  • 32
amol rane
  • 325
  • 1
  • 13
  • Thanks for the answer, when i use that it returns /usr/local/bin/python3.5 : No module named pip – Mahmoud Elnahal Aug 05 '19 at 18:46
  • You need to install pip for python 3.5 you can refer link below https://stackoverflow.com/questions/38249961/install-pip-for-python-3-5 – amol rane Aug 06 '19 at 06:55