Bottom Page

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Multimode imports fine as script but not after compiling into exe
#1
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!
Quote

Top Page

Possibly Related Threads...
Thread Author Replies Views Last Post
  Compiling SlicerCAT flaviu2 1 94 Sep-21-2020, 08:38 AM
Last Post: buran
  refreshing imports seandepagnier 4 217 Sep-20-2020, 11:51 PM
Last Post: seandepagnier
  Compiling on win10 ebolisa 1 116 Sep-04-2020, 04:39 PM
Last Post: ebolisa
  absolute imports between folders mikisDW 0 126 Aug-05-2020, 12:26 PM
Last Post: mikisDW
  Understanding the concept ( Modules , imports ) erfanakbari1 1 330 Nov-25-2019, 01:59 AM
Last Post: Larz60+
  Pyautogui script runs fine if split into two parts together it does not Bmart6969 1 570 Oct-07-2019, 10:53 PM
Last Post: Bmart6969
  Compiling python CommanderCody66 7 984 Apr-19-2019, 08:12 PM
Last Post: snippsat
  How Do I Get the IDE to Find My Imports petec 18 2,642 Feb-24-2019, 02:50 AM
Last Post: petec
  When are imports loaded? MuntyScruntfundle 2 619 Feb-10-2019, 03:47 PM
Last Post: ichabod801
  assignment: not an operator nor expression, but x=y=z=3 works fine? jefdaels 1 717 Jan-29-2019, 02:19 PM
Last Post: perfringo

Forum Jump:


Users browsing this thread: 1 Guest(s)