无法安装pip安装同义词库python 3.7.4

无法安装pip安装同义词库python 3.7.4,python,python-3.x,module,thesaurus,Python,Python 3.x,Module,Thesaurus,我无法安装同义词库 C:\Users\veeransa>pip install thesaurus Traceback (most recent call last): File "c:\program files\python37\lib\runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "c:\program files\python37\lib\runpy.py", line

我无法安装同义词库

C:\Users\veeransa>pip install thesaurus
Traceback (most recent call last):
  File "c:\program files\python37\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "c:\program files\python37\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\Program Files\Python37\Scripts\pip.exe\__main__.py", line 9, in <module>
TypeError: 'module' object is not callable
C:\Users\veeransa>pip安装同义词库
回溯(最近一次呼叫最后一次):
文件“c:\program files\python37\lib\runpy.py”,第193行,位于作为主模块的运行模块中
“\uuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu
文件“c:\program files\python37\lib\runpy.py”,第85行,在运行代码中
exec(代码、运行\全局)
文件“C:\Program Files\Python37\Scripts\pip.exe\\uuuuu main\uuuuuu.py”,第9行,在
TypeError:“模块”对象不可调用
您可以尝试以下方法:

pip install py-thesaurus

这是可行的,但使用此库,此代码无法从同义词库导入单词w=Word('box')w.同义词()['carton','crater','pack','package','trunk','bin','case','casket','cost','cause','portmanteau','receptor']检查此页面:。也许你会找到答案。祝你好运