Python Forum
Python 3.8 or 3.? Trouble installing packages
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Python 3.8 or 3.? Trouble installing packages
#4
pip will always install packages if not already installed, the question is where will it install?

there is one pip script for each version of python.
which version of pip is active is dependent of which version python is active.
To complicate a bit more, there is pip and pip3
pip3 will always work with python 3

from command line, python -V will give active python version
pip -V will give pip version along with the python version it's paired with.

example on my system:
(venv) Flask$ python -V
Python 3.8.0

(venv) Flask$ pip -V
pip 19.2.3 from ... python3.8/site-packages/pip (python 3.8)
you can see that pip and python versions are matched (python 3.8)

if you install pyenv, and use virtual environment they will always be properly paired.
Reply


Messages In This Thread
RE: Python 3.8 or 3.? Trouble installing packages - by Larz60+ - Oct-25-2019, 09:53 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Trouble with installing python domingo251 2 671 Sep-23-2023, 12:03 AM
Last Post: ICanIBB
  Installing python packages in a virtual environment Led_Zeppelin 1 866 Aug-15-2023, 08:18 PM
Last Post: deanhystad
  Installation of packages to newest Python version from previous one Andrzej_Andrzej 3 962 Jul-15-2023, 11:32 AM
Last Post: snippsat
  Having trouble installing scikit-learn via VSC and pulling my hair out pythonturtle 1 826 Feb-07-2023, 02:23 AM
Last Post: Larz60+
  installing prospector and updating anaconda packages amir 2 1,074 Dec-24-2022, 06:13 AM
Last Post: amir
Question Trouble installing modules/libraries and getting Notepad++ to show cyrillic letters Dragiev 6 2,375 Jul-24-2022, 12:55 PM
Last Post: Dragiev
  Installing Modules / packages Oshadha 1 1,779 Feb-05-2021, 08:04 PM
Last Post: Jeff900
  How to create local copies of Python packages so they do not have to be downloaded okhajut 3 2,102 Sep-29-2020, 02:22 PM
Last Post: buran
  python interpreter won't import packages greenpy 1 2,039 Sep-11-2020, 07:47 PM
Last Post: buran
  Conversion of Oracle PL/SQL(packages, functions, procedures) to python modules. DivyaKumar 2 6,650 Jul-09-2020, 04:46 PM
Last Post: srikanth7482

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020