Could you put a print statement before and after each import. i.e
print("Importing os")
import os
print("Importing pandas")
import pandas as pd
print("Importing package_resources")
import pkg_resources.py2_warn
print("Imported all")
I strongly suspect one of pandas non mandatory imports which you don't need
is being bundled and loaded. As far as I know, your code shouldn't be going
anywhere near Cython. So it should be a case of passing some
--exclude-module arguments. Ideally you should create a clean environment
and only install what you know you need but you don't have to. I'd start by
giving it `--exclude-module Cython`.
Brénainn
--
You received this message because you are subscribed to the Google Groups
"PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/pyinstaller/8a6f92b5-3678-4b1b-8357-6cb2fa4fb78e%40googlegroups.com.