[GH-ISSUE #171] New Feature: Selecting Python interpreter during config #159

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

Originally created by @goran-ristic-dev on GitHub (May 11, 2021).
Original GitHub issue: https://github.com/brentvollebregt/auto-py-to-exe/issues/171

Hi,
Maybe this question is for pyinstaller. Im sorry if i have made mistake.
I have multiple projects, written in different Python versions (3.7.x, 3.9), and
by default, 3.7 is defined in windows path.
In the auto-py-to-exe logger, during conversion to exe I have noticed that Python from the path is used instead of one defined in venv.
So, my question is:
Is it possible to somehow define which python interpreter will ne used in pyinstaller, and if it is, can you add this option to auto-py-to-exe gui?
Thanks in advance for response and for making such great GUI interface for pyinstaller!
😀💪👍

Originally created by @goran-ristic-dev on GitHub (May 11, 2021). Original GitHub issue: https://github.com/brentvollebregt/auto-py-to-exe/issues/171 Hi, Maybe this question is for pyinstaller. Im sorry if i have made mistake. I have multiple projects, written in different Python versions (3.7.x, 3.9), and by default, 3.7 is defined in windows path. In the auto-py-to-exe logger, during conversion to exe I have noticed that Python from the path is used instead of one defined in venv. So, my question is: Is it possible to somehow define which python interpreter will ne used in pyinstaller, and if it is, can you add this option to auto-py-to-exe gui? Thanks in advance for response and for making such great GUI interface for pyinstaller! 😀💪👍
kerem 2026-02-26 12:20:40 +03:00
  • closed this issue
  • added the
    Stale
    label
Author
Owner

@brentvollebregt commented on GitHub (May 12, 2021):

auto-py-to-exe directly calls PyInstaller at runtime. This means whichever distribution of Python auto-py-to-exe is running on will be the distribution that PyInstaller uses.

Unless we move the call to PyInstaller into its own process, I cannot see a way of doing this. We were previously calling PyInstaller in a new process but that was not an ideal implementation - I am not keen on going back to this.

All I can say is make sure you are running the auto-py-to-exe installed in your target Python distribution. With multiple distributions of Python installed and auto-py-to-exe potentially installed in more than one, you will need to be wary of which one you are actually running. On Windows, you can use where auto-py-to-exe to identify where the binary is that will be executed.

<!-- gh-comment-id:839516193 --> @brentvollebregt commented on GitHub (May 12, 2021): auto-py-to-exe directly calls PyInstaller at runtime. This means whichever distribution of Python auto-py-to-exe is running on will be the distribution that PyInstaller uses. Unless we move the call to PyInstaller into its own process, I cannot see a way of doing this. We were previously calling PyInstaller in a new process but that was not an ideal implementation - I am not keen on going back to this. All I can say is make sure you are running the auto-py-to-exe installed in your target Python distribution. With multiple distributions of Python installed and auto-py-to-exe potentially installed in more than one, you will need to be wary of which one you are actually running. On Windows, you can use `where auto-py-to-exe` to identify where the binary is that will be executed.
Author
Owner

@github-actions[bot] commented on GitHub (Jul 12, 2021):

This issue is stale because it has been open for 60 days with no activity. Remove stale label or comment on this issue or it will be closed in 5 days.

<!-- gh-comment-id:877891833 --> @github-actions[bot] commented on GitHub (Jul 12, 2021): This issue is stale because it has been open for 60 days with no activity. Remove stale label or comment on this issue or it will be closed in 5 days.
Author
Owner

@github-actions[bot] commented on GitHub (Jul 17, 2021):

Closing issue due to no activity in more than 60 days.

<!-- gh-comment-id:881786202 --> @github-actions[bot] commented on GitHub (Jul 17, 2021): Closing issue due to no activity in more than 60 days.
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#159
No description provided.