gpt4 book ai didi

python - elasticsearch-curator安装错误 “cx_Freeze.freezer.ConfigError: cannot find file/directory named vcruntime140.dll”

转载 作者:行者123 更新时间:2023-12-03 02:31:55 33 4
gpt4 key购买 nike

安装elasticsearch-curator时发生以下错误

cx_Freeze.freezer.ConfigError: cannot find file/directory named vcruntime140.dll

这是我做的命令
pip install -U elasticsearch-curator

最后一条错误消息如下
  copying curator\validators\__init__.py -> build\lib\curator\validators
copying curator\validators\actions.py -> build\lib\curator\validators
copying curator\validators\config_file.py -> build\lib\curator\validators
copying curator\validators\filters.py -> build\lib\curator\validators
copying curator\validators\options.py -> build\lib\curator\validators
copying curator\validators\schemacheck.py -> build\lib\curator\validators
running build_exe
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\XXX\AppData\Local\Temp\pip-install-8urft708\elasticsearch-curator\setup.py", line 140, in <module>
executables = [curator_exe,curator_cli_exe,repomgr_exe]
File "c:\python\lib\site-packages\cx_Freeze\dist.py", line 340, in setup
distutils.core.setup(**attrs)
File "c:\python\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "c:\python\lib\distutils\dist.py", line 966, in run_commands
self.run_command(cmd)
File "c:\python\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "c:\python\lib\site-packages\wheel\bdist_wheel.py", line 192, in run
self.run_command('build')
File "c:\python\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "c:\python\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "c:\python\lib\distutils\command\build.py", line 135, in run
self.run_command(cmd_name)
File "c:\python\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "c:\python\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "c:\python\lib\site-packages\cx_Freeze\dist.py", line 210, in run
zipExcludePackages = self.zip_exclude_packages)
File "c:\python\lib\site-packages\cx_Freeze\freezer.py", line 105, in __init__
self._VerifyConfiguration()
File "c:\python\lib\site-packages\cx_Freeze\freezer.py", line 460, in _VerifyConfiguration
sourceFileName)
cx_Freeze.freezer.ConfigError: cannot find file/directory named vcruntime140.dll
----------------------------------------
ERROR: Failed building wheel for elasticsearch-curator

作业系统:Windows 10
Python版本:3.7.4

如何安装?

最佳答案

通常,您可以通过下载和安装“Visual Studio的Visual C++可再发行组件”来找到该DLL。

关于python - elasticsearch-curator安装错误 “cx_Freeze.freezer.ConfigError: cannot find file/directory named vcruntime140.dll”,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59767316/

33 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com