Py2exe, Runtimeerror con tweepy
Quería usar el complemento de Python para Twitter llamado tweepy.
en mi archivo main.py acabo de importar tweepy
import tweepy
Mi archivo de instalación se ve así:
from distutils.core import setup
import py2exe
setup(
windows=[{
"script": 'main.py',
}],
options={
"py2exe": {
"includes": ["sip", "tweepy"]
}
}
)
Cuando ejecuto python setupy.py py2exe a través de la línea de comandos, obtengo este bloque de código repetitivo hasta que obtengo un RuntimeError: la profundidad de recursión máxima excedida en comparación.
File "C:\Python34\lib\site-packages\py2exe\hooks.py", line 291, in __getattr__
self.__finder.safe_import_hook(renamed, caller=self)
File "C:\Python34\lib\site-packages\py2exe\mf3.py", line 138, in safe_import_hook
self.import_hook(name, caller, fromlist, level)
File "C:\Python34\lib\site-packages\py2exe\mf3.py", line 120, in import_hook
module = self._gcd_import(name)
File "C:\Python34\lib\site-packages\py2exe\mf3.py", line 274, in _gcd_import
return self._find_and_load(name)
File "C:\Python34\lib\site-packages\py2exe\mf3.py", line 298, in _find_and_load
getattr(parent_module, name.rpartition('.')[2])
¿Alguien sabe una manera de salir de este ciclo?