-
Notifications
You must be signed in to change notification settings - Fork 93
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
Failure to install on Python 3.12 #147
Comments
i got the same error on python 3.8.18 and 3.11.5 both. : ( |
It seems pip uses Xilinx's cmake, which is not compatible with your system yet. I can install onnxoptimizer on Arch Linux after installing gcc and cmake from Arch Linux repositories. Anyway, it will be better if the developer can provide a wheel for Python 3.12. |
Same issue here. Any updates? |
Compilation failed for python 3.12 for a variety of errors. Hope there's a wheel for python 3.12. |
Any updates on this issue? Thanks |
Any updates on this issue? Edit: It works now, using Python v3.12.6 on Windows |
I am trying install onnxoptimizer either through pip install onnxoptimizer or directly from source. Either way I get the same failures. I am running Fedora 39 and python 3.12.0.
$ pip3 install -e .
Defaulting to user installation because normal site-packages is not writeable
Looking in indexes: https://gpm.some-anonymous-host.com/pypi/PyPI/simple, https://pypi.org/simple, https://pypi.ngc.nvidia.com
Obtaining file:///home/user/projects/AI_Development/brevitas/onnxoptimizer
Preparing metadata (setup.py) ... done
Requirement already satisfied: onnx in /home/user/.local/lib/python3.12/site-packages (from onnxoptimizer==0.3.17) (1.15.0)
Requirement already satisfied: numpy in /home/user/.local/lib/python3.12/site-packages (from onnx->onnxoptimizer==0.3.17) (1.26.2)
Requirement already satisfied: protobuf>=3.20.2 in /home/user/.local/lib/python3.12/site-packages (from onnx->onnxoptimizer==0.3.17) (4.23.4)
Installing collected packages: onnxoptimizer
Running setup.py develop for onnxoptimizer
error: subprocess-exited-with-error
error: subprocess-exited-with-error
× python setup.py develop did not run successfully.
│ exit code: 1
╰─> [110 lines of output]
/usr/lib/python3.12/site-packages/setuptools/dist.py:755: SetuptoolsDeprecationWarning: Invalid dash-separated options
!!
note: This error originates from a subprocess, and is likely not a problem with pip.
The text was updated successfully, but these errors were encountered: