Skip to content

Forum in maintenance, we will back soon 🙂

ChatGPT Max 3.0
 
Notifications
Clear all

ChatGPT Max 3.0

4 Posts
3 Users
4 Reactions
425 Views
(@asmatniazi)
Posts: 2
Member Registered
Topic starter
 

Hi brother! I faced some issues while running this project, which I resolved. Now I am facing this issue (I am using openai free account, and I also used here the free API key). Please explain why this error occurred. Is it due to a free account or something else?

Screenshot (11)

Error:

File "D:\Code\ChatGPT-MAX-3.0\venv\Lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 541, in _run_script exec(code, module.__dict__)
File "D:\Code\ChatGPT-MAX-3.0\chat.py", line 235, in <module> response_obj = openai.ChatCompletion.create( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Code\ChatGPT-MAX-3.0\venv\Lib\site-packages\openai\api_resources\chat_completion.py", line 25, in create return super().create(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Code\ChatGPT-MAX-3.0\venv\Lib\site-packages\openai\api_resources\abstract\engine_api_resource.py", line 153, in create response, _, api_key = requestor.request( ^^^^^^^^^^^^^^^^^^
File "D:\Code\ChatGPT-MAX-3.0\venv\Lib\site-packages\openai\api_requestor.py", line 298, in request resp, got_stream = self._interpret_response(result, stream) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Code\ChatGPT-MAX-3.0\venv\Lib\site-packages\openai\api_requestor.py", line 700, in _interpret_response self._interpret_response_line(
File "D:\Code\ChatGPT-MAX-3.0\venv\Lib\site-packages\openai\api_requestor.py", line 765, in _interpret_response_line raise self.handle_error_response(

 


  • Errors I Faced & Solved
    • List of all the issues that I faced and solved them. I am posting these issues for those. If anyone facing them can solve these, I have written the solution with each.
    • Issue: ModuleNotFoundError: No module named 'openai'
      • Solution: Installed the openai module in your virtual environment using pip install openai.
    • Issue: ModuleNotFoundError: No module named 'selenium'
      • Solution: Installed the selenium module in your virtual environment using pip install selenium.
    • Issue: ModuleNotFoundError: No module named 'selenium_stealth'
      • Solution: Installed the selenium-stealth module in your virtual environment using pip install selenium-stealth.
    • Issue: ModuleNotFoundError: No module named 'bs4'
      • Solution: Installed the beautifulsoup4 package in your virtual environment using pip install beautifulsoup4.
    • Issue: ModuleNotFoundError: No module named 'newspaper'
      • Solution: Installed the newspaper3k package in your virtual environment using pip install newspaper3k.
    • Issue: ModuleNotFoundError: No module named 'tiktoken'
      • Solution: Installed the tiktoken package in your virtual environment using pip install tiktoken.
    •  

 

 
Posted : 09/21/2023 10:45 pm
Topic Tags
SSAdvisor
(@ssadvisor)
Posts: 1127
Noble Member
 

@asmatniazi as the screenshot states, you exceeded your current quota; yes you've used all of your free tokens for the month. Go to the billing page, add a card and set a spending limit.

The other errors you say you managed on your own should have been taken care of if you used the requirements.txt file, did you do that?

pip install -r requirements.txt

I am aware of an issue of Streamlit package being missing from requirements.txt and have opened a Github issue about it.

Regards,
Earnie Boyd, CEO
Seasoned Solutions Advisor LLC
Schedule 1-on-1 help
Join me on Slack

 
Posted : 09/22/2023 1:03 pm
Asmat Ullah reacted
Hasan Aboul Hasan
(@admin)
Posts: 1185
Member Admin
 

@ssadvisor I will push an update and add it to the requirements

 
Posted : 09/22/2023 2:08 pm
Asmat Ullah reacted
(@asmatniazi)
Posts: 2
Member Registered
Topic starter
 

@ssadvisor, @admin

Thank you for your response. I appreciate your assistance.

Regarding the quota issue, I have indeed exceeded my free token quota for the month, and I plan to go to the billing page to add a card and set a spending limit as you suggested.

In response to your question about the requirements.txt file, yes, I did use the 'pip install -r requirements.txt' command. However, I encountered an error during this process. To resolve it, I manually installed the missing packages.

Additionally, I'm glad to hear that you're aware of the Streamlit package missing from the requirements.txt file and have opened a Github issue about it. This should help ensure that others don't encounter the same issue in the future.

Once again, thank you for your assistance.

This post was modified 12 months ago by Asmat Ullah
 
Posted : 09/22/2023 5:30 pm
Share:
[the_ad_group id=”312″]