Ошибка установкиasticsearch-curator "cx_Freeze.freezer.ConfigError: не удается найти файл / каталог с именем vcruntime140.dll" - PullRequest
0 голосов
/ 16 января 2020

Следующая ошибка произошла при установке 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

Как установить?

1 Ответ

0 голосов
/ 17 января 2020

Как правило, эту DLL можно найти, загрузив и установив «Распространяемый Visual C ++ для Visual Studio».

...