close

[Solved] Pip command line “ImportError: No Module Named Typing”

Hello Guys, How are you all? Hope You all Are Fine. When I Run the Command gives me the following error: Pip command line “ImportError: No Module Named Typing” in Python. So Here I am Explain to you all the possible solutions here.

Without Wasting your time, Lets start This Article to Solve This Error.

How Pip command line “ImportError: No Module Named Typing” Error Occurs ?

When I Run the Command gives me the following error:

C:\Python34\Scripts> pip install pygame

Error Stack :

Traceback (most recent call last):
  File "C:\Python34\lib\runpy.py", line 171, in _run_module_as_main
    "__main__", mod_spec)
  File "C:\Python34\lib\runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "C:\Python34\Scripts\pip.exe\__main__.py", line 5, in <module>
  File "C:\Python34\lib\site-packages\pip\__init__.py", line 1, in <module>
    from typing import List, Optional
ImportError: No module named 'typing'

How To Solve Pip command line “ImportError: No Module Named Typing” Error ?

Question: How To Solve Pip command line “ImportError: No Module Named Typing” Error ?
Answer: I Think You are importing typing package but you do not have it installed. Try installing the package: pip install typing. I Think Your Error Might be Solved Now Or Else A much better fix is to upgrade to a recent Python version which has it included in the standard library. Chances are the library you are trying to use won’t work very well in 3.4 either.

Solution 1

I Think You are importing typing package but you do not have it installed. Try installing the package:

pip install typing

Solution 2

Also A much better fix is to upgrade to a recent Python version which has it included in the standard library. Chances are the library you are trying to use won’t work very well in 3.4 either.

Summery

It’s all About this issue. Hope all solution helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which solution worked for you?

Also Read

Leave a Comment