Dependency Conflict with Protobuf Version Requirement in sillm-mlx
GusLovesMath opened this issue · comments
Description
I am encountering a dependency conflict when trying to install sillm-mlx
v0.1.3 in a new conda virtual environment. The library requires protobuf>=5.26.1
, but my setup includes protobuf
v4.25.3, which conflicts with other packages that depend on an older version of protobuf
.
Steps to Reproduce
- Create a new conda virtual environment.
- Install
sillm-mlx
v0.1.3 using pip. - Observe the dependency resolution failure when installing requirements.txt.
Behavior
The pip installation process terminates with an error, highlighting a dependency conflict due to the required version of protobuf
by sillm-mlx
, which is incompatible with other installed packages.
Environment Details
- Python Version: 3.11 and tried 3.10
- Operating System: macOS Sonoma on a Mac 2022 M2 Pro chip
- Conda Environment
I would appreciate any advice on resolving this issue, including potential updates to the package's dependency specifications to accommodate a broader range of protobuf
versions or guidance on managing dependencies more effectively in this scenario.
Thank you! :D
Thank you for pointing this out!
This conflict exists, but actually not in a fresh conda env as described. It is triggered when you install chainlit
which requires protobuf
4.25.3. This does not cause any issues with sillm-mlx
that I'm aware of though. I will remove the requirement for sillm in the next release. Until then you can just use it and ignore the error thrown by pip.
Sounds good! Thank you so much!!!