Python detection is bad #117

Closed
opened 2023-09-17 15:05:17 +00:00 by bvisness · 2 comments
Owner

It seems that not all Windows users have an executable named python3 on their machine, and Windows installations of Python from the website perhaps just name the executable python. However, it's important that our scripts run under Python 3. We need to update our base orca.bat batch script to use either python3 or python depending on what's available (and probably do a version check too).

It seems that not all Windows users have an executable named `python3` on their machine, and Windows installations of Python from the website perhaps just name the executable `python`. However, it's important that our scripts run under Python 3. We need to update our base `orca.bat` batch script to use either `python3` or `python` depending on what's available (and probably do a version check too).
bvisness added the
windows
label 2023-09-17 15:05:17 +00:00
bvisness changed title from Python detection on Windows is bad to Python detection is bad 2023-09-17 15:07:38 +00:00
Author
Owner

On further review I guess this sometimes applies to Linux systems too. Generally I guess it's just not wise to rely on the presence of python3.

On further review I guess this sometimes applies to Linux systems too. Generally I guess it's just not wise to rely on the presence of `python3`.
bvisness removed the
windows
label 2023-09-17 15:08:58 +00:00
bvisness self-assigned this 2023-09-17 15:45:31 +00:00
Author
Owner

This tool may help determine which versions of Python we support: https://github.com/netromdk/vermin

This tool may help determine which versions of Python we support: https://github.com/netromdk/vermin
Sign in to join this conversation.
No Label
macOS
windows
No Milestone
No project
No Assignees
1 Participants
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: hmn/orca#117
No description provided.