python:hmms库安装错误(ValueError)

2024-06-16 15:16:16 发布

您现在位置:Python中文网/ 问答频道 /正文

我一直在用googlecolab。 我想使用隐马尔可夫,所以我想安装一个名为hmms的库 在安装pip install hmms时,我收到了以下错误。你知道吗

ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

我还尝试在Pycharm IDE中安装相同的库,但在一些回调中收到了相同的错误。你知道吗

Command "python setup.py egg_info" failed with error code 1 in C:\Users\eponr\AppData\Local\Temp\pycharm-packaging\hmms\

Collecting hmms Using cached https://files.pythonhosted.org/packages/e9/e4/c070c44ec8a391f6d5501316d1ed7615058f1fd365ff4ed65c9636d0bf62/hmms-0.1.tar.gz Complete output from command python setup.py egg_info: Traceback (most recent call last): File "<string>", line 1, in <module> File "C:\Users\eponr\AppData\Local\Temp\pycharm-packaging\hmms\setup.py", line 22, in <module> ext_modules=cythonize(glob.glob('hmms/*.pyx'), language_level=3, include_dirs=[numpy.get_include()]), File "C:\Users\eponr\PycharmProjects\untitled1\venv\lib\site-packages\Cython\Build\Dependencies.py", line 955, in cythonize c_options = CompilationOptions(**options) File "C:\Users\eponr\PycharmProjects\untitled1\venv\lib\site-packages\Cython\Compiler\Main.py", line 563, in __init__ raise ValueError(message) ValueError: got unknown compilation option, please remove: include_dirs

这意味着什么?我如何纠正这个问题? 请建议一些解决方案,开始在colab或pycharm IDE工作。你知道吗


Tags: inpyinfoincludeeggpackages错误setup