Python Forum
Pip Syntax Errors in CMD: Windows 10 and Python 3.8.1
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pip Syntax Errors in CMD: Windows 10 and Python 3.8.1
#2
(Feb-06-2020, 04:25 AM)jamesphopper Wrote: >>> C:\Users\james>python -m pip install numpy
This is not cmd,but Python's interactive shell >>>.
cmd tutorial .
(Feb-06-2020, 04:25 AM)jamesphopper Wrote: I went back to the CMD, put in a pip version request and it actually worked:

C:\Users\james>python -m pip --version
pip 20.0.2 from C:\Users\james\AppData\Local\Programs\Python\Python38\lib\site-packages\pip (python 3.8)
Here you are in right place and pip is working,it's here you shall do pip install numpy.
Look like this,also look at tutorial here just the same for 3.8.
# pip is downloading and installing automatic 
C:\Users>pip install numpy
Collecting numpy
  Downloading numpy-1.18.1-cp37-cp37m-win32.whl (10.8 MB)
     |████████████████████████████████| 10.8 MB 3.2 MB/s
Installing collected packages: numpy
Successfully installed numpy-1.18.1

# Test that it work
C:\Users>python
Python 3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 21:26:53) [MSC v.1916 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
>>>
>>> numpy.__version__
'1.18.1'
>>> exit()

C:\Users>
Reply


Messages In This Thread
RE: Pip Syntax Errors in CMD: Windows 10 and Python 3.8.1 - by snippsat - Feb-06-2020, 05:47 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  When does Python detect Errors? stamp1t 1 483 Oct-21-2023, 05:53 PM
Last Post: deanhystad
  Syntax errors: Struggling to setup enviroment and load packages AH56 5 2,876 Jun-30-2021, 01:01 PM
Last Post: AH56
  Rmarkdown opened by python code - errors Rav013 0 2,129 Apr-27-2021, 03:13 PM
Last Post: Rav013
  Python Request Errors PythonNoob1998 7 4,146 Jan-07-2021, 05:18 PM
Last Post: buran
  Python 3.7, Windows 7, Syntax Error hughdent 1 2,312 Mar-23-2020, 10:09 AM
Last Post: buran
  Python stops without errors shahgourav 4 2,824 Feb-04-2020, 11:44 PM
Last Post: micseydel
  Can the comments produce errors in python? newbieAuggie2019 9 4,419 Nov-26-2019, 12:19 AM
Last Post: micseydel
  Running into errors when installing pip and pip3 on python 2.7 and python 3.6 tej7gandhi 1 2,887 May-05-2019, 10:37 PM
Last Post: snippsat
  Does Python sqlite3 detect connection errors zatlas1 6 4,079 Jan-18-2019, 06:02 AM
Last Post: zatlas1
  pip errors on windows 10 arnjmllr 1 2,529 Oct-20-2018, 10:56 AM
Last Post: buran

Forum Jump:

User Panel Messages

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