问题
Currently I'm trying to compile a python application with pyinstaller for distribution. Unfortunately, the compiled version doesn't run, seemingly because of one of astropy's dependencies: six. Astropy encounters an import error on startup although I've even tried adding six to 'hidden imports' in the application's specs-file. Strangely however, during compilation pyinstaller notes that my hidden import 'six' has been found otherwise (this is also the only time six is mentioned) but still it doesn't show up in my distr directory after building.
Is this a known bug? I couldn't find any information related to using astropy/six with pyinstaller. Or is there a better solution perhaps?
来源:https://stackoverflow.com/questions/29052982/python-compiling-astropy-with-pyinstaller