GreyDGL / PentestGPT

A GPT-empowered penetration testing tool
MIT License
7.28k stars 883 forks source link

Issue Issue during pentestgpt-connection #183

Closed RecoveryAshes closed 11 months ago

RecoveryAshes commented 11 months ago

(venv) root@iZuf6e493dcclvo0yzke9iZ:~# pentestgpt-connection Your CHATGPT_COOKIE is not set. Please set it in the environment variable. Traceback (most recent call last): File "/root/venv/bin/pentestgpt-connection", line 5, in from pentestgpt.test_connection import main File "/root/venv/lib/python3.9/site-packages/pentestgpt/test_connection.py", line 4, in from pentestgpt.utils.APIs.chatgpt_api import ChatGPTAPI File "/root/venv/lib/python3.9/site-packages/pentestgpt/utils/APIs/chatgpt_api.py", line 13, in from langfuse.model import InitialGeneration, Usage ImportError: cannot import name 'InitialGeneration' from 'langfuse.model' (/root/venv/lib/python3.9/site-packages/langfuse/model.py)

RecoveryAshes commented 11 months ago

I lowered the langfuse version ,now runs successfully