Python Forum
Module which run in PyCharm but not as exe or terminal.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Module which run in PyCharm but not as exe or terminal.
#2
Do you have more than one python version installed?
In pycharm, in project settings, check which interpreter is used to run the script. make sure you use the same python interpreter when run the script from terminal/cmd and when compile the exe with pyinstaller.
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply


Messages In This Thread
RE: Module which run in PyCharm but not as exe or terminal. - by buran - Feb-13-2019, 10:58 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  keyboard module doesn't work in the microsoft version terminal of python. username 1 2,894 Feb-25-2021, 05:19 PM
Last Post: Larz60+
  Python Program Runs in Pycharm but not in Terminal Vbhardwaj2383 2 3,371 Apr-06-2020, 04:41 PM
Last Post: Vbhardwaj2383
  Pycharm Cannot Find Pygame Module Myang123 2 6,064 Aug-07-2019, 01:26 AM
Last Post: Myang123
  Auto activate conda env in Pycharm terminal ntuttle 0 4,829 Mar-08-2019, 03:56 PM
Last Post: ntuttle
  Random module works in idle but not terminal. ottowiser 3 5,616 Apr-11-2018, 10:59 PM
Last Post: ottowiser
  python turtle module in pycharm error sajley 2 13,168 Dec-12-2016, 08:52 PM
Last Post: sajley

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020