yongzhuo / nlg-yongzhuo

中文文本生成(NLG)之文本摘要(text summarization)工具包, 语料数据(corpus data), 抽取式摘要 Extractive text summary of Lead3、keyword、textrank、text teaser、word significance、LDA、LSI、NMF。(graph,feature,topic model,summarize tool or tookit)
https://blog.csdn.net/rensihui
MIT License
405 stars 53 forks source link

使用pip安装过程中出现下列错误,请问如何解决? #13

Closed HeroSong666 closed 1 year ago

HeroSong666 commented 1 year ago

error: subprocess-exited-with-error

python setup.py egg_info did not run successfully. exit code: 1

[15 lines of output] C:\Users\hs6\AppData\Local\Temp\pip-install-mw7z_iai\pandas_fd94fc07bd02449c82bdc4a3c67de894\setup.py:12: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html import pkg_resources C:\Users\hs6\anaconda3\Lib\site-packages\setuptools__init__.py:84: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. !!

      ********************************************************************************
      Requirements should be satisfied by a PEP 517 installer.
      If you are using pip, you can try `pip install --use-pep517`.
      ********************************************************************************

!! dist.fetch_build_eggs(dist.setup_requires) error in pandas setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers; Expected end or semicolon (after version specifier) pytz >= 2011k


  [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

Encountered error while generating package metadata.

See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
yongzhuo commented 1 year ago

请问你的系统、python环境是什么

HeroSong666 commented 1 year ago

请问你的系统、python环境是什么

windows系统,python 3.11, 直接在jupyter上面运行的

yongzhuo commented 1 year ago

3.11可能不支持,只测过3.6, 3.7, 3.8