0

I am getting the below error while using the command:

python get-pip.py

Error:

c:\Python>python get-pip.py
Traceback (most recent call last):
 File "get-pip.py", line 20061, in <module>
 main()
 File "get-pip.py", line 194, in main
 bootstrap(tmpdir=tmpdir)
 File "get-pip.py", line 82, in bootstrap
 import pip
 File "C:\Users\dell\AppData\Local\Temp\tmpa0q8wceq\pip.zip\pip\__init__.py", l
ine 26, in <module>
 File "C:\Users\dell\AppData\Local\Temp\tmpa0q8wceq\pip.zip\pip\utils\__init__.
py", line 27, in <module>
 File "C:\Users\dell\AppData\Local\Temp\tmpa0q8wceq\pip.zip\pip\_vendor\pkg_res
ources\__init__.py", line 35, in <module>
 File "c:\Python\lib\plistlib.py", line 65, in <module>
 from xml.parsers.expat import ParserCreate
 File "c:\Python\lib\xml\parsers\expat.py", line 4, in <module>
 from pyexpat import *
ImportError: DLL load failed: The specified module could not be found.
asked Jun 26, 2017 at 15:52
1
  • 1
    pip comes installed with Windows Python 3.6.1. Commented Jun 26, 2017 at 15:57

2 Answers 2

1

I'm pretty sure that pip comes with python 3 and up. If you have troubles running only "pip" from the terminal i'd recommend you try: python -m pip ...

answered Jun 26, 2017 at 15:59
Sign up to request clarification or add additional context in comments.

7 Comments

c:\Python>python -m pip c:\Python\python.exe: No module named pip
Im getting this in command prompt: c:\Python>python -m pip c:\Python\python.exe: No module named pip
Maybe try downloading pip from here?
If possible please give me link to the file. I am not able to figure it out. I am new to python. Using it to run some codes on machine learning.
@Rahul I don't understand your problem, I provided you a link where you can download the file needed.
|
0

Try to use the 'Alternative instructions' from this post.

Hope this can help.

answered Jun 26, 2017 at 15:59

2 Comments

Better to close as a duplicate instead of a link-only answer.
I don't know how to close as duplicate so I just give him a possible answer.

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.