0% found this document useful (0 votes)
114 views2 pages

Installing NumPy and Matplotlib on Windows

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

Installing NumPy and Matplotlib on Windows

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

In python we import sys

print([Link])
and copy C:\\Users\\shubh\\AppData\\Local\\Programs\\Python\\Python312\\Lib\\site-
packages packages upto Python312 and replace // by single /
and add cd at the starting C:\\Program Files\\Python312 and give space between cd
and address
Open Command Promp and open as administrator .

Microsoft Windows [Version 10.0.22631.4037]


(c) Microsoft Corporation. All rights reserved.

C:\Windows\System32>cd..

C:\Windows>cd..

C:\>cd C:\\Users\\shubh\\AppData\\Local\\Programs\\Python\\Python312

C:\Users\shubh\AppData\Local\Programs\Python\Python312>pip install numpy


Collecting numpy
Downloading numpy-2.1.0-cp312-cp312-win_amd64.[Link] (59 kB)
Downloading numpy-2.1.0-cp312-cp312-win_amd64.whl (12.6 MB)
---------------------------------------- 12.6/12.6 MB 2.1 MB/s eta [Link]
Installing collected packages: numpy
Successfully installed numpy-2.1.0

C:\Users\shubh\AppData\Local\Programs\Python\Python312>

C:\Program Files\Python312>pip install matplotlib


Collecting matplotlib
Downloading matplotlib-3.9.1.post1-cp312-cp312-win_amd64.[Link] (11 kB)
Collecting contourpy>=1.0.1 (from matplotlib)
Downloading contourpy-1.2.1-cp312-cp312-win_amd64.[Link] (5.8 kB)
Collecting cycler>=0.10 (from matplotlib)
Downloading [Link] (3.8 kB)
Collecting fonttools>=4.22.0 (from matplotlib)
Downloading fonttools-4.53.1-cp312-cp312-win_amd64.[Link] (165 kB)
Collecting kiwisolver>=1.3.1 (from matplotlib)
Downloading kiwisolver-1.4.5-cp312-cp312-win_amd64.[Link] (6.5 kB)
Requirement already satisfied: numpy>=1.23 in c:\program files\python312\lib\site-
packages (from matplotlib) (2.0.1)
Collecting packaging>=20.0 (from matplotlib)
Downloading [Link] (3.2 kB)
Collecting pillow>=8 (from matplotlib)
Downloading pillow-10.4.0-cp312-cp312-win_amd64.[Link] (9.3 kB)
Collecting pyparsing>=2.3.1 (from matplotlib)
Downloading [Link] (5.1 kB)
Collecting python-dateutil>=2.7 (from matplotlib)
Downloading python_dateutil-[Link] (8.4 kB)
Collecting six>=1.5 (from python-dateutil>=2.7->matplotlib)
Downloading [Link] (1.8 kB)
Downloading matplotlib-3.9.1.post1-cp312-cp312-win_amd64.whl (8.0 MB)
---------------------------------------- 8.0/8.0 MB 778.3 kB/s eta [Link]
Downloading contourpy-1.2.1-cp312-cp312-win_amd64.whl (189 kB)
Downloading [Link] (8.3 kB)
Downloading fonttools-4.53.1-cp312-cp312-win_amd64.whl (2.2 MB)
---------------------------------------- 2.2/2.2 MB 624.2 kB/s eta [Link]
Downloading kiwisolver-1.4.5-cp312-cp312-win_amd64.whl (56 kB)
Downloading [Link] (53 kB)
Downloading pillow-10.4.0-cp312-cp312-win_amd64.whl (2.6 MB)
---------------------------------------- 2.6/2.6 MB 863.3 kB/s eta [Link]
Downloading [Link] (103 kB)
Downloading python_dateutil-[Link] (229 kB)
Downloading [Link] (11 kB)
Installing collected packages: six, pyparsing, pillow, packaging, kiwisolver,
fonttools, cycler, contourpy, python-dateutil, matplotlib
Successfully installed contourpy-1.2.1 cycler-0.12.1 fonttools-4.53.1 kiwisolver-
1.4.5 matplotlib-3.9.1.post1 packaging-24.1 pillow-10.4.0 pyparsing-3.1.2 python-
dateutil-2.9.0.post0 six-1.16.0

You might also like