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

Pip install fails on recent python versions #168

Open
CJones-Optics opened this issue Dec 5, 2024 · 3 comments
Open

Pip install fails on recent python versions #168

CJones-Optics opened this issue Dec 5, 2024 · 3 comments

Comments

@CJones-Optics
Copy link

Problem

When trying to install moondream in python3.13 on Fedora via pip fails.

  ERROR: Failed building wheel for onnx
Failed to build onnx
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (onnx)

This problem doesn't appear when reverting to earlier version of pythonn

System

  • Python Version 3.13.0
  • OS: Fedora Linux 41 (Workstation Edition)

Workaround

  • Create a virtual environment for python 3.10.15
  • Run pip install as normal
@ransheng11
Copy link

What's your numpy version? I am using python=3.10. I can install moondream, but the numpy version conflicts with other packages.

@CJones-Optics
Copy link
Author

It was a fresh virtual environment, with no other packages installed.

@Carl-Lea
Copy link

I encountered the same issue with Python 3.13.1. It appears that the unsuccessful installation of onnxruntime was the primary cause. After reviewing information on onnxruntime, I found that it may encounter installation problems with newer Python versions. To resolve this, I downgraded my Python version to 3.12.7, which successfully solved the problem.

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

3 participants