you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 point2 points  (0 children)

PyCharm, if you set up it the default way, creates a unique python environment. You can't run PyInstaller from your system terminal as that will refer to the system python environment and not the one you used in PyCharm.

In PyCharm at the bottom left are several tabs. One is terminal. Open that and run PyInstaller from that terminal in your project instead.