[Python Windows] pip install with Python version

Check the version of installed Python

C:\Users>py --list
Installed Pythons found by py Launcher for Windows
 -3.8-64 *
 -3.6-64
 -2.7-64
C:\Users>py --list-paths
Installed Pythons found by py Launcher for Windows
 -3.8-64        C:\Users\username\AppData\Local\Programs\Python\Python38\python.exe *
 -3.6-64        C:\Users\username\AppData\Local\Programs\Python\Python36\python.exe
 -2.7-64        C:\Python27\python.exe

Specify version and Pip Install

#Version 3.Install sklearn on 6 Python
py -3.6 -m pip install sklearn
#When the version is specified
py -3.6 -m pip install sklearn==0.22

#* When uninstalling
py -3.6 -m pip uninstall sklearn

Reference

Recommended Posts

[Python Windows] pip install with Python version
Install ZIP version Python and pip on Windows 10
Install Python 2.7.9 and Python 3.4.x with pip.
Install xgboost (python version) on Windows
Install Python on Windows + pip + virtualenv
Install by specifying the version with pip
scipy stumbles with pip install on python 2.7.8
Let's install box2d-py with Windows 10 environment pip
Error with pip install
Python starting with Windows 7
Install Voluptuous with Python 2.5
Install python with pyenv
Install scikit.learn with pip
Check version with python
Install Python (for Windows)
Install packages that need to be compiled with Python3 with pip [Windows]
Python with VS Code (Windows 10)
How to install Python [Windows]
Run python with PyCharm (Windows)
Install watchdog on Windows + Python 3.3
Install Python and Flask (Windows 10)
Install Python environment with Anaconda
Windows10: Install python dlib library
When moss with pip install
Specify version with conda install
Install external libraries with Python
Install github repository with pip
Specify python version with virtualenv
[Python] [Chainer] [Windows] Install Chainer on Windows
Time synchronization (Windows) with Python
Install dlib for Python (Windows)
Until you install TensorFlow-GPU with pip in Windows environment
Face detection with YOLO Face (Windows10, Python3.6)
[Road to intermediate Python] Install packages in bulk with pip
Pip install (Windows) under Proxy environment
Pip install --ugrade pip fails on Windows
Until you can install your own Python library with pip
I can't install python3 with pyenv-vertualenv
Install Python from source with Ansible
Install python2.7 on windows 32bit environment
Permission denied with pip install pyopenssl
Install Pytorch on Blender 2.90 python on Windows
Windows10: Install MeCab library in python
Prepare Python development environment with Mac + Windows + VisualStudio Code (Windows version)
Install Jupiter Notebook on Windows with pip in proxy environment
Install the Python plugin with Netbeans 8.0.2
Prepare Python development environment with Mac + Windows + VisualStudio Code (Mac version)
Build mlpy with python3.3 (64bit) (windows 64bit)
Install python and Visual Studio Code on windows10 (April 2020 version)
Manipulate colors with pip install color
Unable to install Python with pyenv
Use Windows 10 speech synthesis with Python
Install Python development environment on Windows 10
Manage each Python version with Homebrew
Install Python framework django using pip
How to install mysql-connector with pip3
Getting started with Python 3.8 on Windows
[Python] Creating multiple windows with Tkinter
Install python with mac vs code
Install easy_install and pip on windows
What to do if you can't install pyaudio with pip #Python