0% found this document useful (0 votes)
73 views3 pages

Librerias Python

The document shows the configuration of a Windows 10 system to install Python and common Python packages like NumPy, OpenCV, and Matplotlib. It demonstrates checking the Python version, upgrading pip, installing NumPy successfully, installing OpenCV after fixing a typo, and finally installing Matplotlib along with its dependencies.

Uploaded by

Juan Vega
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
73 views3 pages

Librerias Python

The document shows the configuration of a Windows 10 system to install Python and common Python packages like NumPy, OpenCV, and Matplotlib. It demonstrates checking the Python version, upgrading pip, installing NumPy successfully, installing OpenCV after fixing a typo, and finally installing Matplotlib along with its dependencies.

Uploaded by

Juan Vega
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Microsoft Windows [Versión 10.0.19043.

1706]

(c) Microsoft Corporation. Todos los derechos reservados.

C:\Users\sacos>py--version

"py--version" no se reconoce como un comando interno o externo,

programa o archivo por lotes ejecutable.

C:\Users\sacos>python

Python 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:58:18) [MSC v.1900 64 bit (AMD64)] on
win32

Type "help", "copyright", "credits" or "license" for more information.

>>> quit()

C:\Users\sacos>pip install numpy

Collecting numpy

Downloading numpy-1.21.6-cp37-cp37m-win_amd64.whl (14.0 MB)

|████████████████████████████████| 14.0 MB 3.2 MB/s

Installing collected packages: numpy

Successfully installed numpy-1.21.6

WARNING: You are using pip version 20.1.1; however, version 22.1.1 is available.

You should consider upgrading via the 'c:\users\sacos\appdata\local\programs\python\python37\


python.exe -m pip install --upgrade pip' command.

C:\Users\sacos>pip install opencv

ERROR: Could not find a version that satisfies the requirement opencv (from versions: none)

ERROR: No matching distribution found for opencv

WARNING: You are using pip version 20.1.1; however, version 22.1.1 is available.

You should consider upgrading via the 'c:\users\sacos\appdata\local\programs\python\python37\


python.exe -m pip install --upgrade pip' command.
C:\Users\sacos>pip instalar opencv-python

ERROR: unknown command "instalar" - maybe you meant "install"

C:\Users\sacos>pip install opencv-python

Collecting opencv-python

Downloading opencv_python-4.5.5.64-cp36-abi3-win_amd64.whl (35.4 MB)

|████████████████████████████████| 35.4 MB 3.3 MB/s

Requirement already satisfied: numpy>=1.14.5; python_version >= "3.7" in c:\users\sacos\


appdata\local\programs\python\python37\lib\site-packages (from opencv-python) (1.21.6)

Installing collected packages: opencv-python

Successfully installed opencv-python-4.5.5.64

WARNING: You are using pip version 20.1.1; however, version 22.1.1 is available.

You should consider upgrading via the 'c:\users\sacos\appdata\local\programs\python\python37\


python.exe -m pip install --upgrade pip' command.

C:\Users\sacos>pip install matplotlib

Collecting matplotlib

Downloading matplotlib-3.5.2-cp37-cp37m-win_amd64.whl (7.2 MB)

|████████████████████████████████| 7.2 MB 922 kB/s

Collecting pillow>=6.2.0

Downloading Pillow-9.1.1-cp37-cp37m-win_amd64.whl (3.3 MB)

|████████████████████████████████| 3.3 MB 3.2 MB/s

Collecting kiwisolver>=1.0.1

Downloading kiwisolver-1.4.2-cp37-cp37m-win_amd64.whl (54 kB)

|████████████████████████████████| 54 kB 317 kB/s

Collecting pyparsing>=2.2.1

Downloading pyparsing-3.0.9-py3-none-any.whl (98 kB)

|████████████████████████████████| 98 kB 979 kB/s

Collecting packaging>=20.0

Downloading packaging-21.3-py3-none-any.whl (40 kB)


|████████████████████████████████| 40 kB 2.7 MB/s

Collecting fonttools>=4.22.0

Downloading fonttools-4.33.3-py3-none-any.whl (930 kB)

|████████████████████████████████| 930 kB 6.4 MB/s

Collecting python-dateutil>=2.7

Downloading python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)

|████████████████████████████████| 247 kB 1.7 MB/s

Requirement already satisfied: numpy>=1.17 in c:\users\sacos\appdata\local\programs\python\


python37\lib\site-packages (from matplotlib) (1.21.6)

Collecting cycler>=0.10

Downloading cycler-0.11.0-py3-none-any.whl (6.4 kB)

Collecting typing-extensions; python_version < "3.8"

Downloading typing_extensions-4.2.0-py3-none-any.whl (24 kB)

Collecting six>=1.5

Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)

Installing collected packages: pillow, typing-extensions, kiwisolver, pyparsing, packaging, fonttools,


six, python-dateutil, cycler, matplotlib

You might also like