Skip to content
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

ModuleNotFoundError: No module named 'llm_attacks' #1

Open
jS5t3r opened this issue Jan 23, 2025 · 1 comment
Open

ModuleNotFoundError: No module named 'llm_attacks' #1

jS5t3r opened this issue Jan 23, 2025 · 1 comment

Comments

@jS5t3r
Copy link

jS5t3r commented Jan 23, 2025

Hello,

I am encountering this error after cloning your repository:

Traceback (most recent call last):
  File "/project/exps/rs.py", line 14, in <module>
    from llm_attacks.minimal_gcg.opt_utils import sample_control
ModuleNotFoundError: No module named 'llm_attacks'
@xszheng2020
Copy link
Collaborator

The llm-attacks package can be installed by running the following command at the root of this repo https://github.com/llm-attacks/llm-attacks

pip install -e .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants