Skip to content

Python 3.12 wheel #334

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

Open
neosr-project opened this issue Jun 7, 2024 · 7 comments
Open

Python 3.12 wheel #334

neosr-project opened this issue Jun 7, 2024 · 7 comments

Comments

@neosr-project
Copy link

Hi. It looks like onnxsim from PyPI does not install when using python 3.12. Is there any plans to support >3.11?

@ogencoglu
Copy link

+1

1 similar comment
@umarbutler
Copy link

+1

@umarbutler
Copy link

I would recommend checking out OnnxSlim. I was able to install it on Python 3.12 without any issues.

@Puiching-Memory
Copy link

I successfully installed onnxsim==0.4.36 in python3.12.7
pip install onnxsim==0.4.36

@ryanli
Copy link

ryanli commented Feb 3, 2025

This is probably an issue with older cmake version:

      CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
        CMake 3.22 or higher is required.  You are running version 3.18.4

It does install for me with a newer cmake.

@kevalmorabia97
Copy link

+1 to having pre-built wheels instead of having to build from source which requires cmake

@xiaoniaogangsi
Copy link

I'm running on Python 3.13.2, and after I updated my cmake to the newest 3.31.6, I installed onnxsim-0.4.36 successfully.
I solved problem using this method, @ryanli thank you!

This is probably an issue with older cmake version:

      CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
        CMake 3.22 or higher is required.  You are running version 3.18.4

It does install for me with a newer cmake.

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

7 participants