-
Notifications
You must be signed in to change notification settings - Fork 37
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
Boto dependency shouldn't be foreced #39
Comments
What error are you getting? can you please share it? |
from easyllm.clients import huggingface
../../../../../miniconda3/envs/llm-poc/lib/python3.11/site-packages/easyllm/clients/huggingface.py:9: in <module>
from easyllm.prompt_utils.base import build_prompt, buildBasePrompt
../../../../../miniconda3/envs/llm-poc/lib/python3.11/site-packages/easyllm/prompt_utils/base.py:5: in <module>
from easyllm.utils import setup_logger
../../../../../miniconda3/envs/llm-poc/lib/python3.11/site-packages/easyllm/utils/__init__.py:1: in <module>
from easyllm.utils.aws import AWSSigV4, get_bedrock_client
../../../../../miniconda3/envs/llm-poc/lib/python3.11/site-packages/easyllm/utils/aws.py:10: in <module>
from botocore.config import Config
E ModuleNotFoundError: No module named 'botocore'
================================================================================ warnings summary =================================================================================
../../../../../miniconda3/envs/llm-poc/lib/python3.11/site-packages/pydantic/_internal/_config.py:219
../../../../../miniconda3/envs/llm-poc/lib/python3.11/s by just running the import. I just got a fresh install (got easyllm==0.6.0) and that's the only change that was applied. Reproduce: pip install easyllm --upgrade >>> from easyllm.clients import huggingface
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/giyaseddin/miniconda3/envs/llm-main/lib/python3.11/site-packages/easyllm/clients/huggingface.py", line 9, in <module>
from easyllm.prompt_utils.base import build_prompt, buildBasePrompt
File "/home/giyaseddin/miniconda3/envs/llm-main/lib/python3.11/site-packages/easyllm/prompt_utils/base.py", line 5, in <module>
from easyllm.utils import setup_logger
File "/home/giyaseddin/miniconda3/envs/llm-main/lib/python3.11/site-packages/easyllm/utils/__init__.py", line 1, in <module>
from easyllm.utils.aws import AWSSigV4, get_bedrock_client
File "/home/giyaseddin/miniconda3/envs/llm-main/lib/python3.11/site-packages/easyllm/utils/aws.py", line 10, in <module>
from botocore.config import Config
ModuleNotFoundError: No module named 'botocore' |
Let me look at that but. You should be able to install |
I pushed an updated version. |
This issue seems to be closable @philschmid . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm getting botocore dependency despite I'm just regularly installing the package. Either it should be added dependency or specified in the install like:
easyllm[aws]
Rolling back to
v0.5.0
solved the issue for now.The text was updated successfully, but these errors were encountered: