facebookresearch / cc_net

Tools to download and cleanup Common Crawl data
MIT License
972 stars 142 forks source link

ModuleNotFoundError: No module named 'typing_extensions' #3

Closed alexandremuzio closed 4 years ago

alexandremuzio commented 4 years ago

After running make install, I was getting

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/data1/alferre/cc_net/cc_net/__main__.py", line 11, in <module>
    import cc_net.mine
  File "/data1/alferre/cc_net/cc_net/mine.py", line 29, in <module>
    from cc_net import dedup, execution, jsonql, perplexity, process_wet_file
  File "/data1/alferre/cc_net/cc_net/dedup.py", line 25, in <module>
    from cc_net import jsonql
  File "/data1/alferre/cc_net/cc_net/jsonql.py", line 50, in <module>
    from typing_extensions import Literal, Protocol

Running pip install typing_extensions fixed it. So this package is probably missing from the setup.py.

gwenzek commented 4 years ago

Thanks for reporting. Fixed

raldawiyahh commented 2 years ago

thanks for fixing the problem

fayizv commented 2 years ago

thanks for the information

ITIgit commented 2 years ago

I am facing from "typing_extensions import Required, Self ModuleNotFoundError: No module named 'typing_extensions' error". It is working fine. Thank you

mohamedGaber93 commented 1 year ago

Please how can i fixed that in pycharm when i useing odoo16

line 55, in from typing_extensions import TypeAlias ModuleNotFoundError: No module named 'typing_extensions'

Process finished with exit code 1