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

on Linux build.py is looking for an old version of python. #196

Open
stibinator opened this issue Aug 3, 2023 · 3 comments
Open

on Linux build.py is looking for an old version of python. #196

stibinator opened this issue Aug 3, 2023 · 3 comments
Labels
code quality Having do do with refactoring, cleanup, or tech debt maintenance has information This issue contains helpful info for other users

Comments

@stibinator
Copy link

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:
Install current version of python
Download GimelStudio source

python3 build.py

Expected behavior
checks for version of python >= 3.9

Observed behaviour
checks for ONLY python version 3.9.x

Desktop (please complete the following information):
Linux
Python 3.10.12

Editing the build file and just replacing "3.9" with "3.10" seems to work (pending it finishing), maybe a slightly better way of checking for compatible python versions than hard-coding the version number is in order.

@Correct-Syntax
Copy link
Member

Hi, thanks for opening an issue. I believe the reason for hard-coding 3.9 was because at the time, a few of our dependencies had not yet released packages for Python 3.10. So, yes that could probably be adjusted now.

@Correct-Syntax Correct-Syntax added the code quality Having do do with refactoring, cleanup, or tech debt maintenance label Aug 3, 2023
@stibinator
Copy link
Author

BTW it didn't end up working, I had to manually add brew to the $PATH, then the openimageio install failed. If I open python I can import OpenImageIO, but the build script fails when it checks for the OpenImageIO path.

@Correct-Syntax
Copy link
Member

Correct-Syntax commented Jun 2, 2024

For anyone stumbling upon this issue trying to use the build script: its probably best not to use the build file method anymore since its outdated and doesn't work many many distros.

Instead:

  1. Grab the wxpython wheel for your distro from here https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ and install it either by downloading the wheel file, etc. or by installing it from the url.
  2. Then pip install -r requirements.txt to install the rest of the dependencies.
  3. cd src
  4. python3 main.py

Installing OpenImageIO isn't 100% necessary anymore, depending on what version of the source you are trying to build.

@Correct-Syntax Correct-Syntax added the has information This issue contains helpful info for other users label Jun 2, 2024
@Correct-Syntax Correct-Syntax pinned this issue Jun 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code quality Having do do with refactoring, cleanup, or tech debt maintenance has information This issue contains helpful info for other users
Projects
None yet
Development

No branches or pull requests

2 participants