Python Forum

Full Version: Multimode imports fine as script but not after compiling into exe
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi guys!

I have a program I have been working on for a few months now and it runs fine in Pycharm as a script. However, after I use auto_py_to_exe to build it (which has worked before) I get this message in the command prompt:

Error:
ImportError: cannot import name 'multimode' from 'statistics' (C:\Users\joshu\output\OrderLog\statistics.pyc) [15200] Failed to execute script OrderLog
The multimode import works fine in pycharm but not here

I would be grateful if you can help me :)

I've fixed it!