Skip to content

cannot import name 'PromptRequestPiece' from 'pyrit.models' #173

Closed Answered by romanlutz
mikael-lund asked this question in Q&A
Discussion options

You must be logged in to vote

This should be an issue, not a discussion. Since it's already created I'll answer here.

I suspect you ran a notebook from the main branch using the latest released PyRIT version. The main branch is where we do development and therefore may not be compatible with the latest release version. If you want to use notebooks that match your release version please use the "branch" selector and then navigate to the notebooks. Or, alternatively, install the version from the main branch and then the notebooks from the main should all work seamlessly.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by romanlutz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants