Installing onnxruntime (1.21.0): Failed #10476

Closed
opened 2026-02-21 18:47:23 -05:00 by yindo · 0 comments
Owner

Originally created by @ThomasXing on GitHub (Mar 11, 2025).

Self Checks

  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

tag:1.0.0

Cloud or Self Hosted

Self Hosted (Source)

Steps to reproduce

Image

Image

I get this error When I execute 'flask db upgrade'

Image

Of course, using pyenv to install the Python environment has also been tested, and the results are the same as above

✔️ Expected Behavior

I have found a way to release the issue is to reduce the onnxruntime version, but after I tried the chroma installation version will report errors, so I hope that someone can help me solve the confusion, thank you very much.

Actual Behavior

No response

Originally created by @ThomasXing on GitHub (Mar 11, 2025). ### Self Checks - [x] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [x] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [x] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [x] Please do not modify this template :) and fill in all the required fields. ### Dify version tag:1.0.0 ### Cloud or Self Hosted Self Hosted (Source) ### Steps to reproduce ![Image](https://github.com/user-attachments/assets/838f3b51-0ca4-4708-a647-fe715de0e1b7) ![Image](https://github.com/user-attachments/assets/23f71b81-8694-45ac-8e15-74d17d4641fc) I get this error When I execute 'flask db upgrade' ![Image](https://github.com/user-attachments/assets/64d5cdbb-f3a4-49df-955f-b3371683ed7b) Of course, using pyenv to install the Python environment has also been tested, and the results are the same as above ### ✔️ Expected Behavior I have found a way to release the issue is to reduce the onnxruntime version, but after I tried the chroma installation version will report errors, so I hope that someone can help me solve the confusion, thank you very much. ### ❌ Actual Behavior _No response_
yindo closed this issue 2026-02-21 18:47:23 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#10476