[GH-ISSUE #24] Unable to run "run.py" nor auto-py-to-exe. #23

Closed
opened 2026-02-26 12:20:13 +03:00 by kerem · 9 comments
Owner

Originally created by @Syed-Hussaini2 on GitHub (Sep 4, 2018).
Original GitHub issue: https://github.com/brentvollebregt/auto-py-to-exe/issues/24

Error:
Error: PyInstaller not found
Please install PyInstaller using: "python -m pip install PyInstaller"


C:\WINDOWS\system32>pip install PyInstaller
Requirement already satisfied: PyInstaller in c:\python27\lib\site-packages (3.3.1)
Requirement already satisfied: macholib>=1.8 in c:\python27\lib\site-packages (from PyInstaller) (1.11)
Requirement already satisfied: pefile>=2017.8.1 in c:\python27\lib\site-packages (from PyInstaller) (2018.8.8)
Requirement already satisfied: future in c:\python27\lib\site-packages (from PyInstaller) (0.16.0)
Requirement already satisfied: setuptools in c:\python27\lib\site-packages (from PyInstaller) (39.0.1)
Requirement already satisfied: dis3 in c:\python27\lib\site-packages (from PyInstaller) (0.1.2)
Requirement already satisfied: altgraph>=0.15 in c:\python27\lib\site-packages (from macholib>=1.8->PyInstaller) (0.16.1)

PyInstaller has been installed already, however I am receiving this error.

Originally created by @Syed-Hussaini2 on GitHub (Sep 4, 2018). Original GitHub issue: https://github.com/brentvollebregt/auto-py-to-exe/issues/24 Error: Error: PyInstaller not found Please install PyInstaller using: "python -m pip install PyInstaller" ------------------------------------------- C:\WINDOWS\system32>pip install PyInstaller Requirement already satisfied: PyInstaller in c:\python27\lib\site-packages (3.3.1) Requirement already satisfied: macholib>=1.8 in c:\python27\lib\site-packages (from PyInstaller) (1.11) Requirement already satisfied: pefile>=2017.8.1 in c:\python27\lib\site-packages (from PyInstaller) (2018.8.8) Requirement already satisfied: future in c:\python27\lib\site-packages (from PyInstaller) (0.16.0) Requirement already satisfied: setuptools in c:\python27\lib\site-packages (from PyInstaller) (39.0.1) Requirement already satisfied: dis3 in c:\python27\lib\site-packages (from PyInstaller) (0.1.2) Requirement already satisfied: altgraph>=0.15 in c:\python27\lib\site-packages (from macholib>=1.8->PyInstaller) (0.16.1) ------------------------------ PyInstaller has been installed already, however I am receiving this error.
kerem 2026-02-26 12:20:13 +03:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@brentvollebregt commented on GitHub (Sep 4, 2018):

I put these messages in to allow people to understand that PyInstaller was not installed. Are you 100% sure that the Python you are running this script with has Pyinstaller installed?

Make sure you aren't installing PyInstaller in one version of Python and executing with a different version.

<!-- gh-comment-id:418337650 --> @brentvollebregt commented on GitHub (Sep 4, 2018): I put these messages in to allow people to understand that PyInstaller was not installed. Are you 100% sure that the Python you are running this script with has Pyinstaller installed? Make sure you aren't installing PyInstaller in one version of Python and executing with a different version.
Author
Owner

@brentvollebregt commented on GitHub (Sep 6, 2018):

How are you running this project? Through PyPI or downloading/cloning from the repo?

<!-- gh-comment-id:419235085 --> @brentvollebregt commented on GitHub (Sep 6, 2018): How are you running this project? Through PyPI or downloading/cloning from the repo?
Author
Owner

@mshemadarshini commented on GitHub (Nov 13, 2018):

does this works with pyqt4/ pyqt5 if i want to convert them to executable ?

<!-- gh-comment-id:438202578 --> @mshemadarshini commented on GitHub (Nov 13, 2018): does this works with pyqt4/ pyqt5 if i want to convert them to executable ?
Author
Owner

@brentvollebregt commented on GitHub (Nov 13, 2018):

Yes, PyInstaller can package PyQt applications

<!-- gh-comment-id:438362029 --> @brentvollebregt commented on GitHub (Nov 13, 2018): Yes, PyInstaller can package PyQt applications
Author
Owner
<!-- gh-comment-id:438523648 --> @mshemadarshini commented on GitHub (Nov 14, 2018): This doesn't work as it say can't execute the file. On Wed, Nov 14, 2018, 1:43 AM Brent Vollebregt <notifications@github.com wrote: > [image: Boxbe] <https://www.boxbe.com/overview> This message is eligible > for Automatic Cleanup! (notifications@github.com) Add cleanup rule > <https://www.boxbe.com/popup?url=https%3A%2F%2Fwww.boxbe.com%2Fcleanup%3Fkey%3DY3gaNkFIcWrA200xvPVJuBvlQHv4MiwWFJ9h3zLQphY%253D%26token%3DsBDwvFFbhiNhjXUqNGN3RWrkC%252FaL028OqsRUCfZJL%252FIeE%252BxL7jLftiYGFSnhV94B2HlimMV2JhyJcbsWkVUtugbpMq1iV7Didrj%252FOJ4o395rxapGWqDKk4KuaFL6ZYlkjNO5hNrxIZgv0x4MyV0QIA%253D%253D&tc_serial=45138320227&tc_rand=1875657764&utm_source=stf&utm_medium=email&utm_campaign=ANNO_CLEANUP_ADD&utm_content=001> > | More info > <http://blog.boxbe.com/general/boxbe-automatic-cleanup?tc_serial=45138320227&tc_rand=1875657764&utm_source=stf&utm_medium=email&utm_campaign=ANNO_CLEANUP_ADD&utm_content=001> > > Yes, PyInstaller can package PyQt applications > > — > You are receiving this because you commented. > Reply to this email directly, view it on GitHub > <https://github.com/brentvollebregt/auto-py-to-exe/issues/24#issuecomment-438362029>, > or mute the thread > <https://github.com/notifications/unsubscribe-auth/AFd-DaYN69MJF6IleI3NfSVoqCw4nw_Tks5uuwHbgaJpZM4WYk-4> > . >
Author
Owner

@brentvollebregt commented on GitHub (Nov 14, 2018):

Are you looking at the actual output that this is producing? If you executed your executable with something that preserves output, you will most likely find errors that you are missing.

You could also build the executable in debugging mode I recommend following my small debugging tutorial to get an idea of how to do this.

Also how does this relate to this issue (#24)? This issue covers not being able to run auto-py-to-exe which you clearly are able to do.

<!-- gh-comment-id:438542693 --> @brentvollebregt commented on GitHub (Nov 14, 2018): Are you looking at the actual output that this is producing? If you executed your executable with something that preserves output, you will most likely find errors that you are missing. You could also build the executable in debugging mode I recommend following [my small debugging tutorial](https://nitratine.net/blog/post/common-issues-when-using-auto-py-to-exe/#debugging) to get an idea of how to do this. Also how does this relate to this issue (#24)? This issue covers not being able to run auto-py-to-exe which you clearly are able to do.
Author
Owner

@mshemadarshini commented on GitHub (Nov 14, 2018):

whats the point of converting into executable when you cant actually execute them? The file failed to execute and I finding ways to convert the file. It is working well when i run them using shell or pycharm, but I'm facing difficulty to convert them as executable as I wanted to deploy them into separate machine.

<!-- gh-comment-id:438545263 --> @mshemadarshini commented on GitHub (Nov 14, 2018): whats the point of converting into executable when you cant actually execute them? The file failed to execute and I finding ways to convert the file. It is working well when i run them using shell or pycharm, but I'm facing difficulty to convert them as executable as I wanted to deploy them into separate machine.
Author
Owner

@brentvollebregt commented on GitHub (Nov 14, 2018):

Did you bother to read that section I linked? Did you debug the application? I have helped a lot of people solve issues just like this and 95% of them are due to the person incorrectly configuring the build.

<!-- gh-comment-id:438545770 --> @brentvollebregt commented on GitHub (Nov 14, 2018): Did you bother to read that section I linked? Did you debug the application? I have helped a lot of people solve issues just like this and 95% of them are due to the person incorrectly configuring the build.
Author
Owner

@brentvollebregt commented on GitHub (Dec 12, 2018):

Closing due to now being off topic (if was was at the beginning)

<!-- gh-comment-id:446460754 --> @brentvollebregt commented on GitHub (Dec 12, 2018): Closing due to now being off topic (if was was at the beginning)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/auto-py-to-exe#23
No description provided.