1

I've been programming a python program that uses resources from a precompiled Python 2.7 binary. I'm using MIT's Name Entity Recognition tool found here. I'm trying to make my .py into a .exe using py2exe but the .exe is never created. Instead, I get the following errors:

The following modules appear to be missing
['Carbon', 'Carbon.Files', 'ElementC14N', '_sysconfigdata', 'cElementTree', 
'elementtree.ElementTree', 'lxml.etree']

*** binary dependencies ***
Your executable(s) also depend on these dlls which are not included,
you may or may not need to distribute them.

Make sure you have the license if you distribute any of them, and
make sure you don't distribute files belonging to the operating system.

   OLEAUT32.dll - C:\Windows\system32\OLEAUT32.dll
   USER32.dll - C:\Windows\system32\USER32.dll
   IMM32.dll - C:\Windows\system32\IMM32.dll
   SHELL32.dll - C:\Windows\system32\SHELL32.dll
   KERNEL32.dll - C:\Windows\system32\KERNEL32.dll
   COMDLG32.dll - C:\Windows\system32\COMDLG32.dll
   COMCTL32.dll - C:\Windows\system32\COMCTL32.dll
   ADVAPI32.dll - C:\Windows\system32\ADVAPI32.dll
   CRYPT32.dll - C:\Windows\system32\CRYPT32.dll
   WS2_32.dll - C:\Windows\system32\WS2_32.dll
   GDI32.dll - C:\Windows\system32\GDI32.dll
   VERSION.dll - C:\Windows\system32\VERSION.dll
   ole32.dll - C:\Windows\system32\ole32.dll

How do I resolve these errors so the .exe file is created?

Chad Nouis
  • 6,861
  • 1
  • 27
  • 28

0 Answers0