re-pin versions o that a proxy issue no longer occurs#28
Open
claythearc wants to merge 1 commit into
Open
Conversation
|
Please approve this PR, I have the same issue) |
|
After I ran into this same Steps I AttemptedI built the image from the PR author's branch and tagged it with the branch name: docker build -t vulnhuntr:poetry_fix https://github.com/claythearc/vulnhuntr.git#poetry_fixThen ran the docker command as outlined in README: docker run --rm -e ANTHROPIC_API_KEY=$ANTHROPIC_API_KEY -e ANTHROPIC_BASE_URL=$ANTHROPIC_BASE_URL -v $(pwd)/path/to/local/repo:/repo -r /repo -a /repo/path/to/file.pyWhich resulted in this failure case: Traceback (most recent call last):
File "/usr/local/bin/vulnhuntr", line 5, in <module>
from vulnhuntr.__main__ import run
File "/usr/local/lib/python3.10/site-packages/vulnhuntr/__main__.py", line 6, in <module>
from vulnhuntr.LLMs import Claude, ChatGPT, Ollama
File "/usr/local/lib/python3.10/site-packages/vulnhuntr/LLMs.py", line 8, in <module>
import requests
ModuleNotFoundError: No module named 'requests'Could the issue be that It is listed in |
|
pipx inject vulnhuntr anthropic==0.40.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Somewhere up the chain a proxy error was introduced in either openAI or anthropic SDK (or both?) this fixes that