Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation fails without specifying full Python version in one-liner oi-mac-installer.sh #1256

Open
i-hodl opened this issue May 5, 2024 · 0 comments

Comments

@i-hodl
Copy link

i-hodl commented May 5, 2024

Describe the bug

Title: Installation fails without specifying full Python version in oi-mac-installer.sh

Body:

Issue Description:
I know that this script is experimental, and i'm looking to help make it more functional.
When running the oi-mac-installer.sh script for Open Interpreter, the installation of Python fails unless the full version number, including the patch version (e.g., 3.11.0 instead of 3.11), is explicitly specified in the script. This requirement isn't documented, which might lead to installation failures for users who attempt to modify the script without knowing the exact version requirement.

Steps to Reproduce:

  1. Run the oi-mac-installer.sh script with a Python version specified as 3.11 instead of 3.11.0.
  2. Observe that the installation fails because the full version wasn't specified.

Expected Behavior:
The script should either handle minor version references automatically by determining the latest patch version, or it should clearly document the need to specify the full version number including the patch.

Actual Behavior:
The script fails to install Python unless the version number includes the patch number (e.g., 3.11.0).

Suggested Fix:
append .0 to the version of python in mac install script.

Additional Information:

This update should ensure that your report is precise and clearly directs the maintainers to the script in question.

Reproduce

Run the oneliner on macosx (I'm running a silicon device).

The install will fail once the script tries to install python version 3.11

Expected behavior

This fix would allow the script to fully run and install open-interpreter.

Screenshots

No response

Open Interpreter version

n/a as this is the script to install open-interpreter

Python version

3.11.0

Operating System name and version

macOS 14.4.1

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant