SimplerLLM icon indicating copy to clipboard operation
SimplerLLM copied to clipboard

Error installing SimplerLLM on Python 3.7.9

Open maxrossi opened this issue 10 months ago • 2 comments

Hello, I have legacy projects and I'm trying to run SimplerLLM on Python 3.7 On PyPI meta I read Requires: Python >=3.6 but trying to install on Python 3.7.9 I get this error:

Image

seems it has a problem with aiohttp dependency   This could be resolved reorganizing dependencies or SimplerLLM nomore supports 3.7?

maxrossi avatar Feb 21 '25 12:02 maxrossi

Can you please try installing version: 0.3.1.9

hassancs91 avatar Feb 22 '25 14:02 hassancs91

I also had a similar issue:

PS E:\dev\2025\vash> poetry add simplerllm
Creating virtualenv vash in E:\dev\2025\vash\.venv
Using version ^0.3.1.20 for simplerllm

Updating dependencies
Resolving dependencies...

The current project's Python requirement (>=3.11,<4.0) is not compatible with some of the required packages Python requirement:
  - voyageai requires Python <3.14,>=3.9, so it will not be satisfied for Python >=3.14,<4.0

Because no versions of simplerllm match >0.3.1.20,<0.4.0.0
 and simplerllm (0.3.1.20) depends on voyageai (0.3.3), simplerllm (>=0.3.1.20,<0.4.0.0) requires voyageai (0.3.3).
So, because voyageai (0.3.3) requires Python <3.14,>=3.9
 and vash depends on simplerllm (^0.3.1.20), version solving failed.

  • Check your dependencies Python requirement: The Python requirement can be specified via the `python` or `markers` properties

    For voyageai, a possible solution would be to set the `python` property to ">=3.11,<3.14"

    https://python-poetry.org/docs/dependency-specification/#python-restricted-dependencies,
    https://python-poetry.org/docs/dependency-specification/#using-environment-markers

So I did poetry add litellm instead and that worked

ubershmekel avatar Oct 17 '25 21:10 ubershmekel