Skip to main content
Second iteration. Fixed the weird syntax highlighting (as a result, the diff looks more extensive than it really is - use view "Side-by-side Markdown" to compare).
Source Link
Peter Mortensen
  • 31.1k
  • 22
  • 111
  • 134

If you have multiple versions as well as multiple architectures (32 bit and 64 bit), you will need to add a -32 or -64 at the end of your version.

For Windows, go to cmd and type py --list, and it will produce the versions you have installed. The list will look like the following:

Installed Pythons found by py Launcher for Windows
 -3.7-64 *
 -3.7-32
 -3.6-32
Installed Pythons found by py Launcher for Windows
 -3.7-64 *
 -3.7-32
 -3.6-32

The full command as an example will be:

py -3.6-32 -m pip install (package)
py -3.6-32 -m pip install (package)

If you want to get more in-depth, to install a specific version of a package on a specific version of Python, use ==(version) after the package. As an example,

py -3.6-32 -m pip install opencv-python==4.1.0.25
py -3.6-32 -m pip install opencv-python==4.1.0.25

If you have multiple versions as well as multiple architectures (32 bit and 64 bit), you will need to add a -32 or -64 at the end of your version.

For Windows, go to cmd and type py --list, and it will produce the versions you have installed. The list will look like the following:

Installed Pythons found by py Launcher for Windows
 -3.7-64 *
 -3.7-32
 -3.6-32

The full command as an example will be:

py -3.6-32 -m pip install (package)

If you want to get more in-depth, to install a specific version of a package on a specific version of Python, use ==(version) after the package. As an example,

py -3.6-32 -m pip install opencv-python==4.1.0.25

If you have multiple versions as well as multiple architectures (32 bit and 64 bit), you will need to add a -32 or -64 at the end of your version.

For Windows, go to cmd and type py --list, and it will produce the versions you have installed. The list will look like the following:

Installed Pythons found by py Launcher for Windows
 -3.7-64 *
 -3.7-32
 -3.6-32

The full command as an example will be:

py -3.6-32 -m pip install (package)

If you want to get more in-depth, to install a specific version of a package on a specific version of Python, use ==(version) after the package. As an example,

py -3.6-32 -m pip install opencv-python==4.1.0.25
Active reading [<https://en.wikipedia.org/wiki/Microsoft_Windows> <https://en.wikipedia.org/wiki/Python_%28programming_language%29> <https://en.wiktionary.org/wiki/in-depth#Adjective>].
Source Link
Peter Mortensen
  • 31.1k
  • 22
  • 111
  • 134

If you have multiple versions as well as multiple architectures (32 bit, and 64 bit), you will need to add a -32-32 or -64-64 at the end of your version.

For windowsWindows, go to cmdcmd and type py --listpy --list, and it will produce the versions you have installed. The list will look like the following:

Installed Pythons found by py Launcher for Windows
 -3.7-64 *
 -3.7-32
 -3.6-32

The full command as an example will be:

py -3.6-32 -m pip install (package)

If you want to get more indepthin-depth, to install a specific version of a package on a specific version of pythonPython, use ==(version) after the package. As an example,

py -3.6-32 -m pip install opencv-python==4.1.0.25

If you have multiple versions as well as multiple architectures (32 bit, 64 bit) you will need to add a -32 or -64 at the end of your version.

For windows, go to cmd and type py --list and it will produce the versions you have installed. The list will look like the following:

Installed Pythons found by py Launcher for Windows
 -3.7-64 *
 -3.7-32
 -3.6-32

The full command as an example will be:

py -3.6-32 -m pip install (package)

If you want to get more indepth, to install a specific version of a package on a specific version of python, use ==(version) after the package. As an example,

py -3.6-32 -m pip install opencv-python==4.1.0.25

If you have multiple versions as well as multiple architectures (32 bit and 64 bit), you will need to add a -32 or -64 at the end of your version.

For Windows, go to cmd and type py --list, and it will produce the versions you have installed. The list will look like the following:

Installed Pythons found by py Launcher for Windows
 -3.7-64 *
 -3.7-32
 -3.6-32

The full command as an example will be:

py -3.6-32 -m pip install (package)

If you want to get more in-depth, to install a specific version of a package on a specific version of Python, use ==(version) after the package. As an example,

py -3.6-32 -m pip install opencv-python==4.1.0.25
Source Link
Brad M
  • 51
  • 1
  • 1

If you have multiple versions as well as multiple architectures (32 bit, 64 bit) you will need to add a -32 or -64 at the end of your version.

For windows, go to cmd and type py --list and it will produce the versions you have installed. The list will look like the following:

Installed Pythons found by py Launcher for Windows
 -3.7-64 *
 -3.7-32
 -3.6-32

The full command as an example will be:

py -3.6-32 -m pip install (package)

If you want to get more indepth, to install a specific version of a package on a specific version of python, use ==(version) after the package. As an example,

py -3.6-32 -m pip install opencv-python==4.1.0.25