Rahul
Rahul

Reputation: 29

Unable to install pip on windows for python 3.6.1 version

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.

Upvotes: 0

Views: 1720

Answers (2)

isak
isak

Reputation: 37

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 ...

Upvotes: 1

Arnaud
Arnaud

Reputation: 101

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

Hope this can help.

Upvotes: 0

Related Questions