[Tutor] Can not install pomegranate

Ulfat Hajiyev ulfat.hajiyev at gmail.com
Wed Aug 26 06:26:36 EDT 2020


Dears,

1st and foremost would like to say that I experience every time a lot of
problems when downloading packages with pip. It consumes a lot of time and
energy.

To the point - can not install pomegranate  to use it for probability.

I use Windows 10, python 3.8.5, pip 20.2.2. Error is shown below email.

Please advise:
1. How should I continue downloading pomegranate through pip properly, *or*
maybe
2. What are alternatives(to pip) to downloading pomegranate, *and* also
3. What are other libraries for python where I can use full potential of
probability.

*ERROR shown below*
*----------------------------------------------------*

*.................*
*.................*
*.................*
*.................*
   c1: fatal error C1083: Cannot open source file:
'pomegranate/distributions/NeuralNetworkWrapper.c': No such file or
directory
  error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio
14.0\\VC\\BIN\\cl.exe' failed with exit status 2
  ----------------------------------------
  ERROR: Failed building wheel for pomegranate
  Running setup.py clean for pomegranate
Failed to build pomegranate
DEPRECATION: Could not build wheels for pomegranate which do not use PEP
517. pip will fall back to legacy 'setup.py install' for these. pip 21.0
will remove support for this functionality. A possible replacement is to
fix the wheel build issue reported above. You can find discussion regarding
this at https://github.com/pypa/pip/issues/8368.
Installing collected packages: pomegranate
    Running setup.py install for pomegranate ... error
 ERROR: Command errored out with exit status 1:

*.................*
*.................*
*.................*
*.................*

    NeuralNetworkWrapper.c
    c1: fatal error C1083: Cannot open source file:
'pomegranate/distributions/NeuralNetworkWrapper.c': No such file or
directory
    error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio
14.0\\VC\\BIN\\cl.exe' failed with exit status 2
    ----------------------------------------
ERROR: Command errored out with exit status 1:
'C:\Users\GYBYM\AppData\Local\Programs\Python\Python38-32\python.exe' -u -c
'import sys, setuptools, tokenize; sys.argv[0] =
'"'"'C:\\Users\\GYBYM\\AppData\\Local\\Temp\\pip-install-ugry4g1v\\pomegranate\\setup.py'"'"';
__file__='"'"'C:\\Users\\GYBYM\\AppData\\Local\\Temp\\pip-install-ugry4g1v\\pomegranate\\setup.py'"'"';f=getattr(tokenize,
'"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"',
'"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))'
install --record
'C:\Users\GYBYM\AppData\Local\Temp\pip-record-infr9vti\install-record.txt'
--single-version-externally-managed --compile --install-headers
'C:\Users\GYBYM\AppData\Local\Programs\Python\Python38-32\Include\pomegranate'
Check the logs for full command output.
____________________
*end of error*


Thanks.

<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon>
Virus-free.
www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>


More information about the Tutor mailing list