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

Exception: Python 3.11.4 (tags/v3.11.4:d2340ef, Jun 7 2023, 05:45:37) [MSC v.1934 64 bit (AMD64)] is not supported. #69

Open
Herutriana44 opened this issue Sep 28, 2023 · 6 comments

Comments

@Herutriana44
Copy link

i get error when build omegafold using python 3.11.4

Traceback (most recent call last): File "C:\Users\herutriana44\omagafold\OmegaFold\setup.py", line 35, in <module> f"torch@{get_url()}" ^^^^^^^^^ File "C:\Users\herutriana44\omagafold\OmegaFold\setup.py", line 15, in get_url raise Exception(f"Python {sys.version} is not supported.") Exception: Python 3.11.4 (tags/v3.11.4:d2340ef, Jun 7 2023, 05:45:37) [MSC v.1934 64 bit (AMD64)] is not supported.

how to solved this problem?

@lwhitm1
Copy link

lwhitm1 commented Mar 12, 2024

Were you able to figure this out? When I try to build I get a similar error for python 3.11.7 and 3.11.8.

Traceback (most recent call last):
  File "/projects/liwh2139/software/OmegaFold/setup.py", line 35, in <module>
    f"torch@{get_url()}"
             ^^^^^^^^^
  File "/projects/liwh2139/software/OmegaFold/setup.py", line 15, in get_url
    raise Exception(f"Python {sys.version} is not supported.")
Exception: Python 3.11.8 | packaged by conda-forge | (main, Feb 16 2024, 20:53:32) [GCC 12.3.0] is not supported.

@Herutriana44
Copy link
Author

This issued haven't clear, i haven't get any solutions.

@alexrunqin
Copy link

It's because of the way the code is written it only supports python versions 3.8, 3.9, and 3.10.
image

@Herutriana44
Copy link
Author

It's because of the way the code is written it only supports python versions 3.8, 3.9, and 3.10. image

I see, thanks for your information.

@Hlunlun
Copy link

Hlunlun commented Jul 18, 2024

So can we change the version?

@RoseTCHALA
Copy link

I had the same issue. what i did is changing the source code to
def get_url() -> str:
if sys.version_info[:2] == (3, 8):
_ver = "cp38"
elif sys.version_info[:2] == (3, 9):
_ver = "cp39"
elif sys.version_info[:2] == (3, 10):
_ver = "cp310"
else:
#raise Exception(f"Python {sys.version} is not supported.")
_ver = "cp310"
and it worked

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

5 participants