-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
I find this quite strange. It looks like everyone else was able to install it successfully, but for some reason, I couldn’t get it to work.
My Python version is 3.11.4, and I used a venv virtual environment (which tends to be clean and less prone to contamination).
Here’s exactly what I did:
python -m venv jbb
source jbb/bin/activate
pip install jailbreakbenchThen I opened Python and tried:
import jailbreakbench as jbbBut it threw an error:
>>> import jailbreakbench as jbb
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/oracleyuan/jbb/lib/python3.11/site-packages/jailbreakbench/__init__.py", line 4, in <module>
from .llm.litellm import LLMLiteLLM
File "/home/oracleyuan/jbb/lib/python3.11/site-packages/jailbreakbench/llm/litellm.py", line 2, in <module>
from litellm.llms.prompt_templates.factory import custom_prompt
ModuleNotFoundError: No module named 'litellm.llms.prompt_templates'
Has anyone else encountered this? Could this be caused by a recent update or a missing dependency in the latest litellm?
Metadata
Metadata
Assignees
Labels
No labels