Forum Discussion
Saravan11111
Mar 27, 2024Copper Contributor
Pyrit: I am not able to run Pyrit code(Automation framework by Microsoft)
I was not able to run Pyrit code that is mentioned in Microsoft documentation.
Error:
PYRIT\PyRIT\doc\demo\1_gandalf.py", line 51, in <module>
from pyrit.chat import AzureOpenAIChat
ModuleNotFoundError: No module named 'pyrit'
I did nothing, just clone the repo mentioned in doc, and try o run, and I got the above error.
Could you please help?
"https://www.microsoft.com/en-us/security/blog/2024/02/22/announcing-microsofts-open-automation-framework-to-red-team-generative-ai-systems/"
1 Reply
Sort By
- Saravan11111Copper ContributorWhen I inspect, I found that, the issue is AzureOpenAiChat is not installed while we install Pyrit.
Could anyone please help to sort that?