Just noticed that bing.py needed an "import logging" statement.
This is what I was getting:
python main.py
Traceback (most recent call last):
File "/Users/isaacson/Projects/gpt-researcher/gpt-researcher/main.py", line 5, in
from backend.server.server import app
File "/Users/isaacson/Projects/gpt-researcher/gpt-researcher/backend/init.py", line 1, in
from multi_agents import agents
File "/Users/isaacson/Projects/gpt-researcher/gpt-researcher/multi_agents/init.py", line 3, in
from .agents import (
File "/Users/isaacson/Projects/gpt-researcher/gpt-researcher/multi_agents/agents/init.py", line 1, in
from .researcher import ResearchAgent
File "/Users/isaacson/Projects/gpt-researcher/gpt-researcher/multi_agents/agents/researcher.py", line 1, in
from gpt_researcher import GPTResearcher
File "/Users/isaacson/Projects/gpt-researcher/gpt-researcher/gpt_researcher/init.py", line 1, in
from .agent import GPTResearcher
File "/Users/isaacson/Projects/gpt-researcher/gpt-researcher/gpt_researcher/agent.py", line 4, in
from .config import Config
File "/Users/isaacson/Projects/gpt-researcher/gpt-researcher/gpt_researcher/config/init.py", line 1, in
from .config import Config
File "/Users/isaacson/Projects/gpt-researcher/gpt-researcher/gpt_researcher/config/config.py", line 7, in
from ..retrievers.utils import get_all_retriever_names
File "/Users/isaacson/Projects/gpt-researcher/gpt-researcher/gpt_researcher/retrievers/init.py", line 2, in
from .bing.bing import BingSearch
File "/Users/isaacson/Projects/gpt-researcher/gpt-researcher/gpt_researcher/retrievers/bing/bing.py", line 9, in
class BingSearch():
File "/Users/isaacson/Projects/gpt-researcher/gpt-researcher/gpt_researcher/retrievers/bing/bing.py", line 13, in BingSearch
logger = logging.getLogger(name)
^^^^^^^
NameError: name 'logging' is not defined
hola!
Just noticed that bing.py needed an "import logging" statement.
This is what I was getting: