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

requirements.txt updated? #143

Closed
xyzaf1 opened this issue Jun 25, 2023 · 4 comments
Closed

requirements.txt updated? #143

xyzaf1 opened this issue Jun 25, 2023 · 4 comments

Comments

@xyzaf1
Copy link

xyzaf1 commented Jun 25, 2023

After installing everything mentioned in the requirements.txt i get this error:

Traceback (most recent call last):
  File "C:\GPT-up1\AUTOGPT.py", line 12, in <module>
    from FreeLLM import ChatGPTAPI  # FREE CHATGPT API
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\GPT-up1\FreeLLM\ChatGPTAPI.py", line 1, in <module>
    from gpt4_openai import GPT4OpenAI
ModuleNotFoundError: No module named 'gpt4_openai'

The version bevor the update would work better if you would remove the following issues (i guess):

Traceback (most recent call last):
  File "C:\GPT\AUTOGPT.py", line 314, in <module>
    agent.run([input("Enter the objective of the AI system: (Be realistic!) ")])
  File "C:\Users\master\AppData\Local\Programs\Python\Python311\Lib\site-packages\langchain\experimental\autonomous_agents\autogpt\agent.py", line 95, in run
    assistant_reply = self.chain.run(
                      ^^^^^^^^^^^^^^^
  File "C:\Users\master\AppData\Local\Programs\Python\Python311\Lib\site-packages\langchain\chains\base.py", line 293, in run
    return self(kwargs, callbacks=callbacks, tags=tags)[_output_key]
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\master\AppData\Local\Programs\Python\Python311\Lib\site-packages\langchain\chains\base.py", line 166, in __call__
    raise e
  File "C:\Users\master\AppData\Local\Programs\Python\Python311\Lib\site-packages\langchain\chains\base.py", line 160, in __call__
    self._call(inputs, run_manager=run_manager)
  File "C:\Users\master\AppData\Local\Programs\Python\Python311\Lib\site-packages\langchain\chains\llm.py", line 92, in _call
    response = self.generate([inputs], run_manager=run_manager)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\master\AppData\Local\Programs\Python\Python311\Lib\site-packages\langchain\chains\llm.py", line 102, in generate
    return self.llm.generate_prompt(
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\master\AppData\Local\Programs\Python\Python311\Lib\site-packages\langchain\llms\base.py", line 140, in generate_prompt
    return self.generate(prompt_strings, stop=stop, callbacks=callbacks, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\master\AppData\Local\Programs\Python\Python311\Lib\site-packages\langchain\llms\base.py", line 206, in generate
    raise e
  File "C:\Users\master\AppData\Local\Programs\Python\Python311\Lib\site-packages\langchain\llms\base.py", line 198, in generate
    self._generate(
  File "C:\Users\master\AppData\Local\Programs\Python\Python311\Lib\site-packages\langchain\llms\base.py", line 500, in _generate
    else self._call(prompt, stop=stop, **kwargs)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\GPT\FreeLLM\ChatGPTAPI.py", line 53, in _call
    data = self.chatbot.send_message(prompt)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\GPT\FreeLLM\pyChatGPT.py", line 507, in send_message
    response = self.driver.find_elements(*chatgpt_small_response)[-1]
               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^

image

@Fitsbit
Copy link

Fitsbit commented Jun 26, 2023

i just installed using errors, but i am still getting an error

@m4conSpeed
Copy link

m4conSpeed commented Jun 26, 2023

@Fitsbit you think they even test before they release? you know what package i need to fix my error? i tried reinstalling everything but im stil getting the same thing....

@IntelligenzaArtificiale
Copy link
Owner

@m4conSpeed of course we tested it! Do you have any idea of the work behind it? Or do you think this repository is snake in html and javascript version?

Most of people's issues are for total incompetence to install libraries !

To risolve pls delete previus version and dowload last version .

For this error u simply need to install gpt4-openai-api

@m4conSpeed
Copy link

m4conSpeed commented Jun 26, 2023

@IntelligenzaArtificiale I know the work behind it. Ofc, I have the gpt-openai-api installed, but i still get this error... Maybe you need a specific version (like edgeGPT, which seems to not be a user error, bc otherwise the issue would be closed ;) )?

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

4 participants