Closed Smutyoka closed 2 weeks ago
Hey @Smutyoka not aware of this issue from others. Can you please share your full env of python and how you called the project?
I think I've just encountered the same problem when trying to start the project via docker compose (current master branch).
Environment: Apple M3 Sonoma 14.5 Docker Desktop 4.33.0 (Docker Verison 27.1.1)
Trace from docker compose up
:
Attaching to gpt-researcher-1, gptr-nextjs-1
gptr-nextjs-1 |
gptr-nextjs-1 | > gpt-researcher@0.1.0 dev
gptr-nextjs-1 | > next dev
gptr-nextjs-1 |
gpt-researcher-1 | Traceback (most recent call last):
gpt-researcher-1 | File "/usr/local/bin/uvicorn", line 8, in <module>
gpt-researcher-1 | sys.exit(main())
gpt-researcher-1 | ^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1157, in __call__
gpt-researcher-1 | return self.main(*args, **kwargs)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1078, in main
gpt-researcher-1 | rv = self.invoke(ctx)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1434, in invoke
gpt-researcher-1 | return ctx.invoke(self.callback, **ctx.params)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 783, in invoke
gpt-researcher-1 | return __callback(*args, **kwargs)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 410, in main
gpt-researcher-1 | run(
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 577, in run
gpt-researcher-1 | server.run()
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 65, in run
gpt-researcher-1 | return asyncio.run(self.serve(sockets=sockets))
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/runners.py", line 190, in run
gpt-researcher-1 | return runner.run(main)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/runners.py", line 118, in run
gpt-researcher-1 | return self._loop.run_until_complete(task)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete
gpt-researcher-1 | return future.result()
gpt-researcher-1 | ^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 69, in serve
gpt-researcher-1 | await self._serve(sockets)
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 76, in _serve
gpt-researcher-1 | config.load()
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/config.py", line 434, in load
gpt-researcher-1 | self.loaded_app = import_from_string(self.app)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/importer.py", line 19, in import_from_string
gpt-researcher-1 | module = importlib.import_module(module_str)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module
gpt-researcher-1 | return _bootstrap._gcd_import(name[level:], package, level)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
gpt-researcher-1 | File "<frozen importlib._bootstrap_external>", line 940, in exec_module
gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
gpt-researcher-1 | File "/usr/src/app/main.py", line 1, in <module>
gpt-researcher-1 | from backend.server import app
gpt-researcher-1 | File "/usr/src/app/backend/__init__.py", line 1, in <module>
gpt-researcher-1 | from multi_agents import agents
gpt-researcher-1 | File "/usr/src/app/multi_agents/__init__.py", line 3, in <module>
gpt-researcher-1 | from .agents import (
gpt-researcher-1 | File "/usr/src/app/multi_agents/agents/__init__.py", line 1, in <module>
gpt-researcher-1 | from .researcher import ResearchAgent
gpt-researcher-1 | File "/usr/src/app/multi_agents/agents/researcher.py", line 1, in <module>
gpt-researcher-1 | from gpt_researcher import GPTResearcher
gpt-researcher-1 | File "/usr/src/app/gpt_researcher/__init__.py", line 1, in <module>
gpt-researcher-1 | from .master import GPTResearcher
gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/__init__.py", line 1, in <module>
gpt-researcher-1 | from .agent import GPTResearcher
gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/agent.py", line 10, in <module>
gpt-researcher-1 | from gpt_researcher.master.actions import *
gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/actions.py", line 10, in <module>
gpt-researcher-1 | from gpt_researcher.scraper.scraper import Scraper
gpt-researcher-1 | File "/usr/src/app/gpt_researcher/scraper/__init__.py", line 3, in <module>
gpt-researcher-1 | from .newspaper.newspaper import NewspaperScraper
gpt-researcher-1 | File "/usr/src/app/gpt_researcher/scraper/newspaper/newspaper.py", line 1, in <module>
gpt-researcher-1 | from newspaper import Article
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/__init__.py", line 10, in <module>
gpt-researcher-1 | from .api import (build, build_article, fulltext, hot, languages,
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/api.py", line 14, in <module>
gpt-researcher-1 | from .article import Article
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/article.py", line 15, in <module>
gpt-researcher-1 | from . import network
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/network.py", line 14, in <module>
gpt-researcher-1 | from .configuration import Configuration
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/configuration.py", line 15, in <module>
gpt-researcher-1 | from .parsers import Parser
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/parsers.py", line 12, in <module>
gpt-researcher-1 | import lxml.html.clean
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/lxml/html/clean.py", line 18, in <module>
gpt-researcher-1 | raise ImportError(
gpt-researcher-1 | ImportError: lxml.html.clean module is now a separate project lxml_html_clean.
gpt-researcher-1 | Install lxml[html_clean] or lxml_html_clean directly.
gptr-nextjs-1 | ▲ Next.js 14.2.3
gptr-nextjs-1 | - Local: http://localhost:3000
gptr-nextjs-1 |
gptr-nextjs-1 | ✓ Starting...
gpt-researcher-1 exited with code 0
gpt-researcher-1 | Traceback (most recent call last):
gpt-researcher-1 | File "/usr/local/bin/uvicorn", line 8, in <module>
gpt-researcher-1 | sys.exit(main())
gpt-researcher-1 | ^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1157, in __call__
gpt-researcher-1 | return self.main(*args, **kwargs)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1078, in main
gpt-researcher-1 | rv = self.invoke(ctx)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1434, in invoke
gpt-researcher-1 | return ctx.invoke(self.callback, **ctx.params)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 783, in invoke
gpt-researcher-1 | return __callback(*args, **kwargs)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 410, in main
gpt-researcher-1 | run(
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 577, in run
gpt-researcher-1 | server.run()
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 65, in run
gpt-researcher-1 | return asyncio.run(self.serve(sockets=sockets))
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/runners.py", line 190, in run
gpt-researcher-1 | return runner.run(main)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/runners.py", line 118, in run
gpt-researcher-1 | return self._loop.run_until_complete(task)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete
gpt-researcher-1 | return future.result()
gpt-researcher-1 | ^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 69, in serve
gpt-researcher-1 | await self._serve(sockets)
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 76, in _serve
gpt-researcher-1 | config.load()
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/config.py", line 434, in load
gpt-researcher-1 | self.loaded_app = import_from_string(self.app)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/importer.py", line 19, in import_from_string
gpt-researcher-1 | module = importlib.import_module(module_str)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module
gpt-researcher-1 | return _bootstrap._gcd_import(name[level:], package, level)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
gpt-researcher-1 | File "<frozen importlib._bootstrap_external>", line 940, in exec_module
gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
gpt-researcher-1 | File "/usr/src/app/main.py", line 1, in <module>
gpt-researcher-1 | from backend.server import app
gpt-researcher-1 | File "/usr/src/app/backend/__init__.py", line 1, in <module>
gpt-researcher-1 | from multi_agents import agents
gpt-researcher-1 | File "/usr/src/app/multi_agents/__init__.py", line 3, in <module>
gpt-researcher-1 | from .agents import (
gpt-researcher-1 | File "/usr/src/app/multi_agents/agents/__init__.py", line 1, in <module>
gpt-researcher-1 | from .researcher import ResearchAgent
gpt-researcher-1 | File "/usr/src/app/multi_agents/agents/researcher.py", line 1, in <module>
gpt-researcher-1 | from gpt_researcher import GPTResearcher
gpt-researcher-1 | File "/usr/src/app/gpt_researcher/__init__.py", line 1, in <module>
gpt-researcher-1 | from .master import GPTResearcher
gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/__init__.py", line 1, in <module>
gpt-researcher-1 | from .agent import GPTResearcher
gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/agent.py", line 10, in <module>
gpt-researcher-1 | from gpt_researcher.master.actions import *
gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/actions.py", line 10, in <module>
gpt-researcher-1 | from gpt_researcher.scraper.scraper import Scraper
gpt-researcher-1 | File "/usr/src/app/gpt_researcher/scraper/__init__.py", line 3, in <module>
gpt-researcher-1 | from .newspaper.newspaper import NewspaperScraper
gpt-researcher-1 | File "/usr/src/app/gpt_researcher/scraper/newspaper/newspaper.py", line 1, in <module>
gpt-researcher-1 | from newspaper import Article
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/__init__.py", line 10, in <module>
gpt-researcher-1 | from .api import (build, build_article, fulltext, hot, languages,
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/api.py", line 14, in <module>
gpt-researcher-1 | from .article import Article
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/article.py", line 15, in <module>
gpt-researcher-1 | from . import network
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/network.py", line 14, in <module>
gpt-researcher-1 | from .configuration import Configuration
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/configuration.py", line 15, in <module>
gpt-researcher-1 | from .parsers import Parser
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/parsers.py", line 12, in <module>
gpt-researcher-1 | import lxml.html.clean
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/lxml/html/clean.py", line 18, in <module>
gpt-researcher-1 | raise ImportError(
gpt-researcher-1 | ImportError: lxml.html.clean module is now a separate project lxml_html_clean.
gpt-researcher-1 | Install lxml[html_clean] or lxml_html_clean directly.
gpt-researcher-1 exited with code 1
gptr-nextjs-1 | ✓ Ready in 1880ms
gpt-researcher-1 | Traceback (most recent call last):
gpt-researcher-1 | File "/usr/local/bin/uvicorn", line 8, in <module>
gpt-researcher-1 | sys.exit(main())
gpt-researcher-1 | ^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1157, in __call__
gpt-researcher-1 | return self.main(*args, **kwargs)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1078, in main
gpt-researcher-1 | rv = self.invoke(ctx)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1434, in invoke
gpt-researcher-1 | return ctx.invoke(self.callback, **ctx.params)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 783, in invoke
gpt-researcher-1 | return __callback(*args, **kwargs)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 410, in main
gpt-researcher-1 | run(
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 577, in run
gpt-researcher-1 | server.run()
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 65, in run
gpt-researcher-1 | return asyncio.run(self.serve(sockets=sockets))
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/runners.py", line 190, in run
gpt-researcher-1 | return runner.run(main)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/runners.py", line 118, in run
gpt-researcher-1 | return self._loop.run_until_complete(task)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete
gpt-researcher-1 | return future.result()
gpt-researcher-1 | ^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 69, in serve
gpt-researcher-1 | await self._serve(sockets)
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 76, in _serve
gpt-researcher-1 | config.load()
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/config.py", line 434, in load
gpt-researcher-1 | self.loaded_app = import_from_string(self.app)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/importer.py", line 19, in import_from_string
gpt-researcher-1 | module = importlib.import_module(module_str)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module
gpt-researcher-1 | return _bootstrap._gcd_import(name[level:], package, level)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
gpt-researcher-1 | File "<frozen importlib._bootstrap_external>", line 940, in exec_module
gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
gpt-researcher-1 | File "/usr/src/app/main.py", line 1, in <module>
gpt-researcher-1 | from backend.server import app
gpt-researcher-1 | File "/usr/src/app/backend/__init__.py", line 1, in <module>
gpt-researcher-1 | from multi_agents import agents
gpt-researcher-1 | File "/usr/src/app/multi_agents/__init__.py", line 3, in <module>
gpt-researcher-1 | from .agents import (
gpt-researcher-1 | File "/usr/src/app/multi_agents/agents/__init__.py", line 1, in <module>
gpt-researcher-1 | from .researcher import ResearchAgent
gpt-researcher-1 | File "/usr/src/app/multi_agents/agents/researcher.py", line 1, in <module>
gpt-researcher-1 | from gpt_researcher import GPTResearcher
gpt-researcher-1 | File "/usr/src/app/gpt_researcher/__init__.py", line 1, in <module>
gpt-researcher-1 | from .master import GPTResearcher
gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/__init__.py", line 1, in <module>
gpt-researcher-1 | from .agent import GPTResearcher
gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/agent.py", line 10, in <module>
gpt-researcher-1 | from gpt_researcher.master.actions import *
gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/actions.py", line 10, in <module>
gpt-researcher-1 | from gpt_researcher.scraper.scraper import Scraper
gpt-researcher-1 | File "/usr/src/app/gpt_researcher/scraper/__init__.py", line 3, in <module>
gpt-researcher-1 | from .newspaper.newspaper import NewspaperScraper
gpt-researcher-1 | File "/usr/src/app/gpt_researcher/scraper/newspaper/newspaper.py", line 1, in <module>
gpt-researcher-1 | from newspaper import Article
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/__init__.py", line 10, in <module>
gpt-researcher-1 | from .api import (build, build_article, fulltext, hot, languages,
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/api.py", line 14, in <module>
gpt-researcher-1 | from .article import Article
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/article.py", line 15, in <module>
gpt-researcher-1 | from . import network
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/network.py", line 14, in <module>
gpt-researcher-1 | from .configuration import Configuration
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/configuration.py", line 15, in <module>
gpt-researcher-1 | from .parsers import Parser
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/parsers.py", line 12, in <module>
gpt-researcher-1 | import lxml.html.clean
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/lxml/html/clean.py", line 18, in <module>
gpt-researcher-1 | raise ImportError(
gpt-researcher-1 | ImportError: lxml.html.clean module is now a separate project lxml_html_clean.
gpt-researcher-1 | Install lxml[html_clean] or lxml_html_clean directly.
gpt-researcher-1 | Traceback (most recent call last):
gpt-researcher-1 | File "/usr/local/bin/uvicorn", line 8, in <module>
gpt-researcher-1 | sys.exit(main())
gpt-researcher-1 | ^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1157, in __call__
gpt-researcher-1 | return self.main(*args, **kwargs)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1078, in main
gpt-researcher-1 | rv = self.invoke(ctx)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1434, in invoke
gpt-researcher-1 | return ctx.invoke(self.callback, **ctx.params)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 783, in invoke
gpt-researcher-1 | return __callback(*args, **kwargs)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 410, in main
gpt-researcher-1 | run(
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 577, in run
gpt-researcher-1 | server.run()
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 65, in run
gpt-researcher-1 | return asyncio.run(self.serve(sockets=sockets))
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/runners.py", line 190, in run
gpt-researcher-1 | return runner.run(main)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/runners.py", line 118, in run
gpt-researcher-1 | return self._loop.run_until_complete(task)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete
gpt-researcher-1 | return future.result()
gpt-researcher-1 | ^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 69, in serve
gpt-researcher-1 | await self._serve(sockets)
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 76, in _serve
gpt-researcher-1 | config.load()
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/config.py", line 434, in load
gpt-researcher-1 | self.loaded_app = import_from_string(self.app)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/importer.py", line 19, in import_from_string
gpt-researcher-1 | module = importlib.import_module(module_str)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module
gpt-researcher-1 | return _bootstrap._gcd_import(name[level:], package, level)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
gpt-researcher-1 | File "<frozen importlib._bootstrap_external>", line 940, in exec_module
gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
gpt-researcher-1 | File "/usr/src/app/main.py", line 1, in <module>
gpt-researcher-1 | from backend.server import app
gpt-researcher-1 | File "/usr/src/app/backend/__init__.py", line 1, in <module>
gpt-researcher-1 | from multi_agents import agents
gpt-researcher-1 | File "/usr/src/app/multi_agents/__init__.py", line 3, in <module>
gpt-researcher-1 | from .agents import (
gpt-researcher-1 | File "/usr/src/app/multi_agents/agents/__init__.py", line 1, in <module>
gpt-researcher-1 | from .researcher import ResearchAgent
gpt-researcher-1 | File "/usr/src/app/multi_agents/agents/researcher.py", line 1, in <module>
gpt-researcher-1 | from gpt_researcher import GPTResearcher
gpt-researcher-1 | File "/usr/src/app/gpt_researcher/__init__.py", line 1, in <module>
gpt-researcher-1 | from .master import GPTResearcher
gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/__init__.py", line 1, in <module>
gpt-researcher-1 | from .agent import GPTResearcher
gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/agent.py", line 10, in <module>
gpt-researcher-1 | from gpt_researcher.master.actions import *
gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/actions.py", line 10, in <module>
gpt-researcher-1 | from gpt_researcher.scraper.scraper import Scraper
gpt-researcher-1 | File "/usr/src/app/gpt_researcher/scraper/__init__.py", line 3, in <module>
gpt-researcher-1 | from .newspaper.newspaper import NewspaperScraper
gpt-researcher-1 | File "/usr/src/app/gpt_researcher/scraper/newspaper/newspaper.py", line 1, in <module>
gpt-researcher-1 | from newspaper import Article
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/__init__.py", line 10, in <module>
gpt-researcher-1 | from .api import (build, build_article, fulltext, hot, languages,
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/api.py", line 14, in <module>
gpt-researcher-1 | from .article import Article
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/article.py", line 15, in <module>
gpt-researcher-1 | from . import network
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/network.py", line 14, in <module>
gpt-researcher-1 | from .configuration import Configuration
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/configuration.py", line 15, in <module>
gpt-researcher-1 | from .parsers import Parser
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/parsers.py", line 12, in <module>
gpt-researcher-1 | import lxml.html.clean
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/lxml/html/clean.py", line 18, in <module>
gpt-researcher-1 | raise ImportError(
gpt-researcher-1 | ImportError: lxml.html.clean module is now a separate project lxml_html_clean.
gpt-researcher-1 | Install lxml[html_clean] or lxml_html_clean directly.
gpt-researcher-1 | Traceback (most recent call last):
gpt-researcher-1 | File "/usr/local/bin/uvicorn", line 8, in <module>
gpt-researcher-1 | sys.exit(main())
gpt-researcher-1 | ^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1157, in __call__
gpt-researcher-1 | return self.main(*args, **kwargs)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1078, in main
gpt-researcher-1 | rv = self.invoke(ctx)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1434, in invoke
gpt-researcher-1 | return ctx.invoke(self.callback, **ctx.params)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 783, in invoke
gpt-researcher-1 | return __callback(*args, **kwargs)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 410, in main
gpt-researcher-1 | run(
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 577, in run
gpt-researcher-1 | server.run()
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 65, in run
gpt-researcher-1 | return asyncio.run(self.serve(sockets=sockets))
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/runners.py", line 190, in run
gpt-researcher-1 | return runner.run(main)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/runners.py", line 118, in run
gpt-researcher-1 | return self._loop.run_until_complete(task)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete
gpt-researcher-1 | return future.result()
gpt-researcher-1 | ^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 69, in serve
gpt-researcher-1 | await self._serve(sockets)
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 76, in _serve
gpt-researcher-1 | config.load()
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/config.py", line 434, in load
gpt-researcher-1 | self.loaded_app = import_from_string(self.app)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/importer.py", line 19, in import_from_string
gpt-researcher-1 | module = importlib.import_module(module_str)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module
gpt-researcher-1 | return _bootstrap._gcd_import(name[level:], package, level)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
gpt-researcher-1 | File "<frozen importlib._bootstrap_external>", line 940, in exec_module
gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
gpt-researcher-1 | File "/usr/src/app/main.py", line 1, in <module>
gpt-researcher-1 | from backend.server import app
gpt-researcher-1 | File "/usr/src/app/backend/__init__.py", line 1, in <module>
gpt-researcher-1 | from multi_agents import agents
gpt-researcher-1 | File "/usr/src/app/multi_agents/__init__.py", line 3, in <module>
gpt-researcher-1 | from .agents import (
gpt-researcher-1 | File "/usr/src/app/multi_agents/agents/__init__.py", line 1, in <module>
gpt-researcher-1 | from .researcher import ResearchAgent
gpt-researcher-1 | File "/usr/src/app/multi_agents/agents/researcher.py", line 1, in <module>
gpt-researcher-1 | from gpt_researcher import GPTResearcher
gpt-researcher-1 | File "/usr/src/app/gpt_researcher/__init__.py", line 1, in <module>
gpt-researcher-1 | from .master import GPTResearcher
gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/__init__.py", line 1, in <module>
gpt-researcher-1 | from .agent import GPTResearcher
gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/agent.py", line 10, in <module>
gpt-researcher-1 | from gpt_researcher.master.actions import *
gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/actions.py", line 10, in <module>
gpt-researcher-1 | from gpt_researcher.scraper.scraper import Scraper
gpt-researcher-1 | File "/usr/src/app/gpt_researcher/scraper/__init__.py", line 3, in <module>
gpt-researcher-1 | from .newspaper.newspaper import NewspaperScraper
gpt-researcher-1 | File "/usr/src/app/gpt_researcher/scraper/newspaper/newspaper.py", line 1, in <module>
gpt-researcher-1 | from newspaper import Article
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/__init__.py", line 10, in <module>
gpt-researcher-1 | from .api import (build, build_article, fulltext, hot, languages,
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/api.py", line 14, in <module>
gpt-researcher-1 | from .article import Article
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/article.py", line 15, in <module>
gpt-researcher-1 | from . import network
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/network.py", line 14, in <module>
gpt-researcher-1 | from .configuration import Configuration
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/configuration.py", line 15, in <module>
gpt-researcher-1 | from .parsers import Parser
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/parsers.py", line 12, in <module>
gpt-researcher-1 | import lxml.html.clean
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/lxml/html/clean.py", line 18, in <module>
gpt-researcher-1 | raise ImportError(
gpt-researcher-1 | ImportError: lxml.html.clean module is now a separate project lxml_html_clean.
gpt-researcher-1 | Install lxml[html_clean] or lxml_html_clean directly.
gpt-researcher-1 | Traceback (most recent call last):
gpt-researcher-1 | File "/usr/local/bin/uvicorn", line 8, in <module>
gpt-researcher-1 | sys.exit(main())
gpt-researcher-1 | ^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1157, in __call__
gpt-researcher-1 | return self.main(*args, **kwargs)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1078, in main
gpt-researcher-1 | rv = self.invoke(ctx)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1434, in invoke
gpt-researcher-1 | return ctx.invoke(self.callback, **ctx.params)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 783, in invoke
gpt-researcher-1 | return __callback(*args, **kwargs)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 410, in main
gpt-researcher-1 | run(
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 577, in run
gpt-researcher-1 | server.run()
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 65, in run
gpt-researcher-1 | return asyncio.run(self.serve(sockets=sockets))
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/runners.py", line 190, in run
gpt-researcher-1 | return runner.run(main)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/runners.py", line 118, in run
gpt-researcher-1 | return self._loop.run_until_complete(task)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete
gpt-researcher-1 | return future.result()
gpt-researcher-1 | ^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 69, in serve
gpt-researcher-1 | await self._serve(sockets)
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 76, in _serve
gpt-researcher-1 | config.load()
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/config.py", line 434, in load
gpt-researcher-1 | self.loaded_app = import_from_string(self.app)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/importer.py", line 19, in import_from_string
gpt-researcher-1 | module = importlib.import_module(module_str)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module
gpt-researcher-1 | return _bootstrap._gcd_import(name[level:], package, level)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
gpt-researcher-1 | File "<frozen importlib._bootstrap_external>", line 940, in exec_module
gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
gpt-researcher-1 | File "/usr/src/app/main.py", line 1, in <module>
gpt-researcher-1 | from backend.server import app
gpt-researcher-1 | File "/usr/src/app/backend/__init__.py", line 1, in <module>
gpt-researcher-1 | from multi_agents import agents
gpt-researcher-1 | File "/usr/src/app/multi_agents/__init__.py", line 3, in <module>
gpt-researcher-1 | from .agents import (
gpt-researcher-1 | File "/usr/src/app/multi_agents/agents/__init__.py", line 1, in <module>
gpt-researcher-1 | from .researcher import ResearchAgent
gpt-researcher-1 | File "/usr/src/app/multi_agents/agents/researcher.py", line 1, in <module>
gpt-researcher-1 | from gpt_researcher import GPTResearcher
gpt-researcher-1 | File "/usr/src/app/gpt_researcher/__init__.py", line 1, in <module>
gpt-researcher-1 | from .master import GPTResearcher
gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/__init__.py", line 1, in <module>
gpt-researcher-1 | from .agent import GPTResearcher
gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/agent.py", line 10, in <module>
gpt-researcher-1 | from gpt_researcher.master.actions import *
gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/actions.py", line 10, in <module>
gpt-researcher-1 | from gpt_researcher.scraper.scraper import Scraper
gpt-researcher-1 | File "/usr/src/app/gpt_researcher/scraper/__init__.py", line 3, in <module>
gpt-researcher-1 | from .newspaper.newspaper import NewspaperScraper
gpt-researcher-1 | File "/usr/src/app/gpt_researcher/scraper/newspaper/newspaper.py", line 1, in <module>
gpt-researcher-1 | from newspaper import Article
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/__init__.py", line 10, in <module>
gpt-researcher-1 | from .api import (build, build_article, fulltext, hot, languages,
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/api.py", line 14, in <module>
gpt-researcher-1 | from .article import Article
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/article.py", line 15, in <module>
gpt-researcher-1 | from . import network
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/network.py", line 14, in <module>
gpt-researcher-1 | from .configuration import Configuration
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/configuration.py", line 15, in <module>
gpt-researcher-1 | from .parsers import Parser
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/parsers.py", line 12, in <module>
gpt-researcher-1 | import lxml.html.clean
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/lxml/html/clean.py", line 18, in <module>
gpt-researcher-1 | raise ImportError(
gpt-researcher-1 | ImportError: lxml.html.clean module is now a separate project lxml_html_clean.
gpt-researcher-1 | Install lxml[html_clean] or lxml_html_clean directly.
gpt-researcher-1 | Traceback (most recent call last):
gpt-researcher-1 | File "/usr/local/bin/uvicorn", line 8, in <module>
gpt-researcher-1 | sys.exit(main())
gpt-researcher-1 | ^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1157, in __call__
gpt-researcher-1 | return self.main(*args, **kwargs)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1078, in main
gpt-researcher-1 | rv = self.invoke(ctx)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1434, in invoke
gpt-researcher-1 | return ctx.invoke(self.callback, **ctx.params)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 783, in invoke
gpt-researcher-1 | return __callback(*args, **kwargs)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 410, in main
gpt-researcher-1 | run(
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 577, in run
gpt-researcher-1 | server.run()
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 65, in run
gpt-researcher-1 | return asyncio.run(self.serve(sockets=sockets))
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/runners.py", line 190, in run
gpt-researcher-1 | return runner.run(main)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/runners.py", line 118, in run
gpt-researcher-1 | return self._loop.run_until_complete(task)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete
gpt-researcher-1 | return future.result()
gpt-researcher-1 | ^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 69, in serve
gpt-researcher-1 | await self._serve(sockets)
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 76, in _serve
gpt-researcher-1 | config.load()
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/config.py", line 434, in load
gpt-researcher-1 | self.loaded_app = import_from_string(self.app)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/importer.py", line 19, in import_from_string
gpt-researcher-1 | module = importlib.import_module(module_str)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module
gpt-researcher-1 | return _bootstrap._gcd_import(name[level:], package, level)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
gpt-researcher-1 | File "<frozen importlib._bootstrap_external>", line 940, in exec_module
gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
gpt-researcher-1 | File "/usr/src/app/main.py", line 1, in <module>
gpt-researcher-1 | from backend.server import app
gpt-researcher-1 | File "/usr/src/app/backend/__init__.py", line 1, in <module>
gpt-researcher-1 | from multi_agents import agents
gpt-researcher-1 | File "/usr/src/app/multi_agents/__init__.py", line 3, in <module>
gpt-researcher-1 | from .agents import (
gpt-researcher-1 | File "/usr/src/app/multi_agents/agents/__init__.py", line 1, in <module>
gpt-researcher-1 | from .researcher import ResearchAgent
gpt-researcher-1 | File "/usr/src/app/multi_agents/agents/researcher.py", line 1, in <module>
gpt-researcher-1 | from gpt_researcher import GPTResearcher
gpt-researcher-1 | File "/usr/src/app/gpt_researcher/__init__.py", line 1, in <module>
gpt-researcher-1 | from .master import GPTResearcher
gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/__init__.py", line 1, in <module>
gpt-researcher-1 | from .agent import GPTResearcher
gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/agent.py", line 10, in <module>
gpt-researcher-1 | from gpt_researcher.master.actions import *
gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/actions.py", line 10, in <module>
gpt-researcher-1 | from gpt_researcher.scraper.scraper import Scraper
gpt-researcher-1 | File "/usr/src/app/gpt_researcher/scraper/__init__.py", line 3, in <module>
gpt-researcher-1 | from .newspaper.newspaper import NewspaperScraper
gpt-researcher-1 | File "/usr/src/app/gpt_researcher/scraper/newspaper/newspaper.py", line 1, in <module>
gpt-researcher-1 | from newspaper import Article
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/__init__.py", line 10, in <module>
gpt-researcher-1 | from .api import (build, build_article, fulltext, hot, languages,
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/api.py", line 14, in <module>
gpt-researcher-1 | from .article import Article
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/article.py", line 15, in <module>
gpt-researcher-1 | from . import network
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/network.py", line 14, in <module>
gpt-researcher-1 | from .configuration import Configuration
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/configuration.py", line 15, in <module>
gpt-researcher-1 | from .parsers import Parser
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/parsers.py", line 12, in <module>
gpt-researcher-1 | import lxml.html.clean
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/lxml/html/clean.py", line 18, in <module>
gpt-researcher-1 | raise ImportError(
gpt-researcher-1 | ImportError: lxml.html.clean module is now a separate project lxml_html_clean.
gpt-researcher-1 | Install lxml[html_clean] or lxml_html_clean directly.
gpt-researcher-1 | Traceback (most recent call last):
gpt-researcher-1 | File "/usr/local/bin/uvicorn", line 8, in <module>
gpt-researcher-1 | sys.exit(main())
gpt-researcher-1 | ^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1157, in __call__
gpt-researcher-1 | return self.main(*args, **kwargs)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1078, in main
gpt-researcher-1 | rv = self.invoke(ctx)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1434, in invoke
gpt-researcher-1 | return ctx.invoke(self.callback, **ctx.params)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 783, in invoke
gpt-researcher-1 | return __callback(*args, **kwargs)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 410, in main
gpt-researcher-1 | run(
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 577, in run
gpt-researcher-1 | server.run()
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 65, in run
gpt-researcher-1 | return asyncio.run(self.serve(sockets=sockets))
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/runners.py", line 190, in run
gpt-researcher-1 | return runner.run(main)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/runners.py", line 118, in run
gpt-researcher-1 | return self._loop.run_until_complete(task)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete
gpt-researcher-1 | return future.result()
gpt-researcher-1 | ^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 69, in serve
gpt-researcher-1 | await self._serve(sockets)
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 76, in _serve
gpt-researcher-1 | config.load()
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/config.py", line 434, in load
gpt-researcher-1 | self.loaded_app = import_from_string(self.app)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/importer.py", line 19, in import_from_string
gpt-researcher-1 | module = importlib.import_module(module_str)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module
gpt-researcher-1 | return _bootstrap._gcd_import(name[level:], package, level)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
gpt-researcher-1 | File "<frozen importlib._bootstrap_external>", line 940, in exec_module
gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
gpt-researcher-1 | File "/usr/src/app/main.py", line 1, in <module>
gpt-researcher-1 | from backend.server import app
gpt-researcher-1 | File "/usr/src/app/backend/__init__.py", line 1, in <module>
gpt-researcher-1 | from multi_agents import agents
gpt-researcher-1 | File "/usr/src/app/multi_agents/__init__.py", line 3, in <module>
gpt-researcher-1 | from .agents import (
gpt-researcher-1 | File "/usr/src/app/multi_agents/agents/__init__.py", line 1, in <module>
gpt-researcher-1 | from .researcher import ResearchAgent
gpt-researcher-1 | File "/usr/src/app/multi_agents/agents/researcher.py", line 1, in <module>
gpt-researcher-1 | from gpt_researcher import GPTResearcher
gpt-researcher-1 | File "/usr/src/app/gpt_researcher/__init__.py", line 1, in <module>
gpt-researcher-1 | from .master import GPTResearcher
gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/__init__.py", line 1, in <module>
gpt-researcher-1 | from .agent import GPTResearcher
gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/agent.py", line 10, in <module>
gpt-researcher-1 | from gpt_researcher.master.actions import *
gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/actions.py", line 10, in <module>
gpt-researcher-1 | from gpt_researcher.scraper.scraper import Scraper
gpt-researcher-1 | File "/usr/src/app/gpt_researcher/scraper/__init__.py", line 3, in <module>
gpt-researcher-1 | from .newspaper.newspaper import NewspaperScraper
gpt-researcher-1 | File "/usr/src/app/gpt_researcher/scraper/newspaper/newspaper.py", line 1, in <module>
gpt-researcher-1 | from newspaper import Article
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/__init__.py", line 10, in <module>
gpt-researcher-1 | from .api import (build, build_article, fulltext, hot, languages,
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/api.py", line 14, in <module>
gpt-researcher-1 | from .article import Article
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/article.py", line 15, in <module>
gpt-researcher-1 | from . import network
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/network.py", line 14, in <module>
gpt-researcher-1 | from .configuration import Configuration
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/configuration.py", line 15, in <module>
gpt-researcher-1 | from .parsers import Parser
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/parsers.py", line 12, in <module>
gpt-researcher-1 | import lxml.html.clean
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/lxml/html/clean.py", line 18, in <module>
gpt-researcher-1 | raise ImportError(
gpt-researcher-1 | ImportError: lxml.html.clean module is now a separate project lxml_html_clean.
gpt-researcher-1 | Install lxml[html_clean] or lxml_html_clean directly.
gpt-researcher-1 | Traceback (most recent call last):
gpt-researcher-1 | File "/usr/local/bin/uvicorn", line 8, in <module>
gpt-researcher-1 | sys.exit(main())
gpt-researcher-1 | ^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1157, in __call__
gpt-researcher-1 | return self.main(*args, **kwargs)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1078, in main
gpt-researcher-1 | rv = self.invoke(ctx)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1434, in invoke
gpt-researcher-1 | return ctx.invoke(self.callback, **ctx.params)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 783, in invoke
gpt-researcher-1 | return __callback(*args, **kwargs)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 410, in main
gpt-researcher-1 | run(
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 577, in run
gpt-researcher-1 | server.run()
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 65, in run
gpt-researcher-1 | return asyncio.run(self.serve(sockets=sockets))
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/runners.py", line 190, in run
gpt-researcher-1 | return runner.run(main)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/runners.py", line 118, in run
gpt-researcher-1 | return self._loop.run_until_complete(task)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete
gpt-researcher-1 | return future.result()
gpt-researcher-1 | ^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 69, in serve
gpt-researcher-1 | await self._serve(sockets)
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 76, in _serve
gpt-researcher-1 | config.load()
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/config.py", line 434, in load
gpt-researcher-1 | self.loaded_app = import_from_string(self.app)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/importer.py", line 19, in import_from_string
gpt-researcher-1 | module = importlib.import_module(module_str)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module
gpt-researcher-1 | return _bootstrap._gcd_import(name[level:], package, level)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
gpt-researcher-1 | File "<frozen importlib._bootstrap_external>", line 940, in exec_module
gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
gpt-researcher-1 | File "/usr/src/app/main.py", line 1, in <module>
gpt-researcher-1 | from backend.server import app
gpt-researcher-1 | File "/usr/src/app/backend/__init__.py", line 1, in <module>
gpt-researcher-1 | from multi_agents import agents
gpt-researcher-1 | File "/usr/src/app/multi_agents/__init__.py", line 3, in <module>
gpt-researcher-1 | from .agents import (
gpt-researcher-1 | File "/usr/src/app/multi_agents/agents/__init__.py", line 1, in <module>
gpt-researcher-1 | from .researcher import ResearchAgent
gpt-researcher-1 | File "/usr/src/app/multi_agents/agents/researcher.py", line 1, in <module>
gpt-researcher-1 | from gpt_researcher import GPTResearcher
gpt-researcher-1 | File "/usr/src/app/gpt_researcher/__init__.py", line 1, in <module>
gpt-researcher-1 | from .master import GPTResearcher
gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/__init__.py", line 1, in <module>
gpt-researcher-1 | from .agent import GPTResearcher
gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/agent.py", line 10, in <module>
gpt-researcher-1 | from gpt_researcher.master.actions import *
gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/actions.py", line 10, in <module>
gpt-researcher-1 | from gpt_researcher.scraper.scraper import Scraper
gpt-researcher-1 | File "/usr/src/app/gpt_researcher/scraper/__init__.py", line 3, in <module>
gpt-researcher-1 | from .newspaper.newspaper import NewspaperScraper
gpt-researcher-1 | File "/usr/src/app/gpt_researcher/scraper/newspaper/newspaper.py", line 1, in <module>
gpt-researcher-1 | from newspaper import Article
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/__init__.py", line 10, in <module>
gpt-researcher-1 | from .api import (build, build_article, fulltext, hot, languages,
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/api.py", line 14, in <module>
gpt-researcher-1 | from .article import Article
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/article.py", line 15, in <module>
gpt-researcher-1 | from . import network
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/network.py", line 14, in <module>
gpt-researcher-1 | from .configuration import Configuration
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/configuration.py", line 15, in <module>
gpt-researcher-1 | from .parsers import Parser
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/parsers.py", line 12, in <module>
gpt-researcher-1 | import lxml.html.clean
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/lxml/html/clean.py", line 18, in <module>
gpt-researcher-1 | raise ImportError(
gpt-researcher-1 | ImportError: lxml.html.clean module is now a separate project lxml_html_clean.
gpt-researcher-1 | Install lxml[html_clean] or lxml_html_clean directly.
gpt-researcher-1 | Traceback (most recent call last):
gpt-researcher-1 | File "/usr/local/bin/uvicorn", line 8, in <module>
gpt-researcher-1 | sys.exit(main())
gpt-researcher-1 | ^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1157, in __call__
gpt-researcher-1 | return self.main(*args, **kwargs)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1078, in main
gpt-researcher-1 | rv = self.invoke(ctx)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1434, in invoke
gpt-researcher-1 | return ctx.invoke(self.callback, **ctx.params)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 783, in invoke
gpt-researcher-1 | return __callback(*args, **kwargs)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 410, in main
gpt-researcher-1 | run(
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 577, in run
gpt-researcher-1 | server.run()
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 65, in run
gpt-researcher-1 | return asyncio.run(self.serve(sockets=sockets))
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/runners.py", line 190, in run
gpt-researcher-1 | return runner.run(main)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/runners.py", line 118, in run
gpt-researcher-1 | return self._loop.run_until_complete(task)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete
gpt-researcher-1 | return future.result()
gpt-researcher-1 | ^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 69, in serve
gpt-researcher-1 | await self._serve(sockets)
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 76, in _serve
gpt-researcher-1 | config.load()
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/config.py", line 434, in load
gpt-researcher-1 | self.loaded_app = import_from_string(self.app)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/importer.py", line 19, in import_from_string
gpt-researcher-1 | module = importlib.import_module(module_str)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module
gpt-researcher-1 | return _bootstrap._gcd_import(name[level:], package, level)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
gpt-researcher-1 | File "<frozen importlib._bootstrap_external>", line 940, in exec_module
gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
gpt-researcher-1 | File "/usr/src/app/main.py", line 1, in <module>
gpt-researcher-1 | from backend.server import app
gpt-researcher-1 | File "/usr/src/app/backend/__init__.py", line 1, in <module>
gpt-researcher-1 | from multi_agents import agents
gpt-researcher-1 | File "/usr/src/app/multi_agents/__init__.py", line 3, in <module>
gpt-researcher-1 | from .agents import (
gpt-researcher-1 | File "/usr/src/app/multi_agents/agents/__init__.py", line 1, in <module>
gpt-researcher-1 | from .researcher import ResearchAgent
gpt-researcher-1 | File "/usr/src/app/multi_agents/agents/researcher.py", line 1, in <module>
gpt-researcher-1 | from gpt_researcher import GPTResearcher
gpt-researcher-1 | File "/usr/src/app/gpt_researcher/__init__.py", line 1, in <module>
gpt-researcher-1 | from .master import GPTResearcher
gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/__init__.py", line 1, in <module>
gpt-researcher-1 | from .agent import GPTResearcher
gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/agent.py", line 10, in <module>
gpt-researcher-1 | from gpt_researcher.master.actions import *
gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/actions.py", line 10, in <module>
gpt-researcher-1 | from gpt_researcher.scraper.scraper import Scraper
gpt-researcher-1 | File "/usr/src/app/gpt_researcher/scraper/__init__.py", line 3, in <module>
gpt-researcher-1 | from .newspaper.newspaper import NewspaperScraper
gpt-researcher-1 | File "/usr/src/app/gpt_researcher/scraper/newspaper/newspaper.py", line 1, in <module>
gpt-researcher-1 | from newspaper import Article
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/__init__.py", line 10, in <module>
gpt-researcher-1 | from .api import (build, build_article, fulltext, hot, languages,
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/api.py", line 14, in <module>
gpt-researcher-1 | from .article import Article
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/article.py", line 15, in <module>
gpt-researcher-1 | from . import network
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/network.py", line 14, in <module>
gpt-researcher-1 | from .configuration import Configuration
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/configuration.py", line 15, in <module>
gpt-researcher-1 | from .parsers import Parser
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/parsers.py", line 12, in <module>
gpt-researcher-1 | import lxml.html.clean
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/lxml/html/clean.py", line 18, in <module>
gpt-researcher-1 | raise ImportError(
gpt-researcher-1 | ImportError: lxml.html.clean module is now a separate project lxml_html_clean.
gpt-researcher-1 | Install lxml[html_clean] or lxml_html_clean directly.
gpt-researcher-1 | Traceback (most recent call last):
gpt-researcher-1 | File "/usr/local/bin/uvicorn", line 8, in <module>
gpt-researcher-1 | sys.exit(main())
gpt-researcher-1 | ^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1157, in __call__
gpt-researcher-1 | return self.main(*args, **kwargs)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1078, in main
gpt-researcher-1 | rv = self.invoke(ctx)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1434, in invoke
gpt-researcher-1 | return ctx.invoke(self.callback, **ctx.params)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 783, in invoke
gpt-researcher-1 | return __callback(*args, **kwargs)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 410, in main
gpt-researcher-1 | run(
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 577, in run
gpt-researcher-1 | server.run()
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 65, in run
gpt-researcher-1 | return asyncio.run(self.serve(sockets=sockets))
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/runners.py", line 190, in run
gpt-researcher-1 | return runner.run(main)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/runners.py", line 118, in run
gpt-researcher-1 | return self._loop.run_until_complete(task)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete
gpt-researcher-1 | return future.result()
gpt-researcher-1 | ^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 69, in serve
gpt-researcher-1 | await self._serve(sockets)
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 76, in _serve
gpt-researcher-1 | config.load()
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/config.py", line 434, in load
gpt-researcher-1 | self.loaded_app = import_from_string(self.app)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/importer.py", line 19, in import_from_string
gpt-researcher-1 | module = importlib.import_module(module_str)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module
gpt-researcher-1 | return _bootstrap._gcd_import(name[level:], package, level)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
gpt-researcher-1 | File "<frozen importlib._bootstrap_external>", line 940, in exec_module
gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
gpt-researcher-1 | File "/usr/src/app/main.py", line 1, in <module>
gpt-researcher-1 | from backend.server import app
gpt-researcher-1 | File "/usr/src/app/backend/__init__.py", line 1, in <module>
gpt-researcher-1 | from multi_agents import agents
gpt-researcher-1 | File "/usr/src/app/multi_agents/__init__.py", line 3, in <module>
gpt-researcher-1 | from .agents import (
gpt-researcher-1 | File "/usr/src/app/multi_agents/agents/__init__.py", line 1, in <module>
gpt-researcher-1 | from .researcher import ResearchAgent
gpt-researcher-1 | File "/usr/src/app/multi_agents/agents/researcher.py", line 1, in <module>
gpt-researcher-1 | from gpt_researcher import GPTResearcher
gpt-researcher-1 | File "/usr/src/app/gpt_researcher/__init__.py", line 1, in <module>
gpt-researcher-1 | from .master import GPTResearcher
gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/__init__.py", line 1, in <module>
gpt-researcher-1 | from .agent import GPTResearcher
gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/agent.py", line 10, in <module>
gpt-researcher-1 | from gpt_researcher.master.actions import *
gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/actions.py", line 10, in <module>
gpt-researcher-1 | from gpt_researcher.scraper.scraper import Scraper
gpt-researcher-1 | File "/usr/src/app/gpt_researcher/scraper/__init__.py", line 3, in <module>
gpt-researcher-1 | from .newspaper.newspaper import NewspaperScraper
gpt-researcher-1 | File "/usr/src/app/gpt_researcher/scraper/newspaper/newspaper.py", line 1, in <module>
gpt-researcher-1 | from newspaper import Article
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/__init__.py", line 10, in <module>
gpt-researcher-1 | from .api import (build, build_article, fulltext, hot, languages,
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/api.py", line 14, in <module>
gpt-researcher-1 | from .article import Article
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/article.py", line 15, in <module>
gpt-researcher-1 | from . import network
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/network.py", line 14, in <module>
gpt-researcher-1 | from .configuration import Configuration
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/configuration.py", line 15, in <module>
gpt-researcher-1 | from .parsers import Parser
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/parsers.py", line 12, in <module>
gpt-researcher-1 | import lxml.html.clean
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/lxml/html/clean.py", line 18, in <module>
gpt-researcher-1 | raise ImportError(
gpt-researcher-1 | ImportError: lxml.html.clean module is now a separate project lxml_html_clean.
gpt-researcher-1 | Install lxml[html_clean] or lxml_html_clean directly.
gpt-researcher-1 | Traceback (most recent call last):
gpt-researcher-1 | File "/usr/local/bin/uvicorn", line 8, in <module>
gpt-researcher-1 | sys.exit(main())
gpt-researcher-1 | ^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1157, in __call__
gpt-researcher-1 | return self.main(*args, **kwargs)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1078, in main
gpt-researcher-1 | rv = self.invoke(ctx)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1434, in invoke
gpt-researcher-1 | return ctx.invoke(self.callback, **ctx.params)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 783, in invoke
gpt-researcher-1 | return __callback(*args, **kwargs)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 410, in main
gpt-researcher-1 | run(
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 577, in run
gpt-researcher-1 | server.run()
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 65, in run
gpt-researcher-1 | return asyncio.run(self.serve(sockets=sockets))
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/runners.py", line 190, in run
gpt-researcher-1 | return runner.run(main)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/runners.py", line 118, in run
gpt-researcher-1 | return self._loop.run_until_complete(task)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete
gpt-researcher-1 | return future.result()
gpt-researcher-1 | ^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 69, in serve
gpt-researcher-1 | await self._serve(sockets)
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 76, in _serve
gpt-researcher-1 | config.load()
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/config.py", line 434, in load
gpt-researcher-1 | self.loaded_app = import_from_string(self.app)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/importer.py", line 19, in import_from_string
gpt-researcher-1 | module = importlib.import_module(module_str)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module
gpt-researcher-1 | return _bootstrap._gcd_import(name[level:], package, level)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
gpt-researcher-1 | File "<frozen importlib._bootstrap_external>", line 940, in exec_module
gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
gpt-researcher-1 | File "/usr/src/app/main.py", line 1, in <module>
gpt-researcher-1 | from backend.server import app
gpt-researcher-1 | File "/usr/src/app/backend/__init__.py", line 1, in <module>
gpt-researcher-1 | from multi_agents import agents
gpt-researcher-1 | File "/usr/src/app/multi_agents/__init__.py", line 3, in <module>
gpt-researcher-1 | from .agents import (
gpt-researcher-1 | File "/usr/src/app/multi_agents/agents/__init__.py", line 1, in <module>
gpt-researcher-1 | from .researcher import ResearchAgent
gpt-researcher-1 | File "/usr/src/app/multi_agents/agents/researcher.py", line 1, in <module>
gpt-researcher-1 | from gpt_researcher import GPTResearcher
gpt-researcher-1 | File "/usr/src/app/gpt_researcher/__init__.py", line 1, in <module>
gpt-researcher-1 | from .master import GPTResearcher
gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/__init__.py", line 1, in <module>
gpt-researcher-1 | from .agent import GPTResearcher
gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/agent.py", line 10, in <module>
gpt-researcher-1 | from gpt_researcher.master.actions import *
gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/actions.py", line 10, in <module>
gpt-researcher-1 | from gpt_researcher.scraper.scraper import Scraper
gpt-researcher-1 | File "/usr/src/app/gpt_researcher/scraper/__init__.py", line 3, in <module>
gpt-researcher-1 | from .newspaper.newspaper import NewspaperScraper
gpt-researcher-1 | File "/usr/src/app/gpt_researcher/scraper/newspaper/newspaper.py", line 1, in <module>
gpt-researcher-1 | from newspaper import Article
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/__init__.py", line 10, in <module>
gpt-researcher-1 | from .api import (build, build_article, fulltext, hot, languages,
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/api.py", line 14, in <module>
gpt-researcher-1 | from .article import Article
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/article.py", line 15, in <module>
gpt-researcher-1 | from . import network
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/network.py", line 14, in <module>
gpt-researcher-1 | from .configuration import Configuration
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/configuration.py", line 15, in <module>
gpt-researcher-1 | from .parsers import Parser
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/parsers.py", line 12, in <module>
gpt-researcher-1 | import lxml.html.clean
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/lxml/html/clean.py", line 18, in <module>
gpt-researcher-1 | raise ImportError(
gpt-researcher-1 | ImportError: lxml.html.clean module is now a separate project lxml_html_clean.
gpt-researcher-1 | Install lxml[html_clean] or lxml_html_clean directly.
gpt-researcher-1 | Traceback (most recent call last):
gpt-researcher-1 | File "/usr/local/bin/uvicorn", line 8, in <module>
gpt-researcher-1 | sys.exit(main())
gpt-researcher-1 | ^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1157, in __call__
gpt-researcher-1 | return self.main(*args, **kwargs)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1078, in main
gpt-researcher-1 | rv = self.invoke(ctx)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1434, in invoke
gpt-researcher-1 | return ctx.invoke(self.callback, **ctx.params)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 783, in invoke
gpt-researcher-1 | return __callback(*args, **kwargs)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 410, in main
gpt-researcher-1 | run(
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 577, in run
gpt-researcher-1 | server.run()
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 65, in run
gpt-researcher-1 | return asyncio.run(self.serve(sockets=sockets))
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/runners.py", line 190, in run
gpt-researcher-1 | return runner.run(main)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/runners.py", line 118, in run
gpt-researcher-1 | return self._loop.run_until_complete(task)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete
gpt-researcher-1 | return future.result()
gpt-researcher-1 | ^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 69, in serve
gpt-researcher-1 | await self._serve(sockets)
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 76, in _serve
gpt-researcher-1 | config.load()
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/config.py", line 434, in load
gpt-researcher-1 | self.loaded_app = import_from_string(self.app)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/importer.py", line 19, in import_from_string
gpt-researcher-1 | module = importlib.import_module(module_str)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module
gpt-researcher-1 | return _bootstrap._gcd_import(name[level:], package, level)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
gpt-researcher-1 | File "<frozen importlib._bootstrap_external>", line 940, in exec_module
gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
gpt-researcher-1 | File "/usr/src/app/main.py", line 1, in <module>
gpt-researcher-1 | from backend.server import app
gpt-researcher-1 | File "/usr/src/app/backend/__init__.py", line 1, in <module>
gpt-researcher-1 | from multi_agents import agents
gpt-researcher-1 | File "/usr/src/app/multi_agents/__init__.py", line 3, in <module>
gpt-researcher-1 | from .agents import (
gpt-researcher-1 | File "/usr/src/app/multi_agents/agents/__init__.py", line 1, in <module>
gpt-researcher-1 | from .researcher import ResearchAgent
gpt-researcher-1 | File "/usr/src/app/multi_agents/agents/researcher.py", line 1, in <module>
gpt-researcher-1 | from gpt_researcher import GPTResearcher
gpt-researcher-1 | File "/usr/src/app/gpt_researcher/__init__.py", line 1, in <module>
gpt-researcher-1 | from .master import GPTResearcher
gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/__init__.py", line 1, in <module>
gpt-researcher-1 | from .agent import GPTResearcher
gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/agent.py", line 10, in <module>
gpt-researcher-1 | from gpt_researcher.master.actions import *
gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/actions.py", line 10, in <module>
gpt-researcher-1 | from gpt_researcher.scraper.scraper import Scraper
gpt-researcher-1 | File "/usr/src/app/gpt_researcher/scraper/__init__.py", line 3, in <module>
gpt-researcher-1 | from .newspaper.newspaper import NewspaperScraper
gpt-researcher-1 | File "/usr/src/app/gpt_researcher/scraper/newspaper/newspaper.py", line 1, in <module>
gpt-researcher-1 | from newspaper import Article
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/__init__.py", line 10, in <module>
gpt-researcher-1 | from .api import (build, build_article, fulltext, hot, languages,
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/api.py", line 14, in <module>
gpt-researcher-1 | from .article import Article
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/article.py", line 15, in <module>
gpt-researcher-1 | from . import network
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/network.py", line 14, in <module>
gpt-researcher-1 | from .configuration import Configuration
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/configuration.py", line 15, in <module>
gpt-researcher-1 | from .parsers import Parser
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/parsers.py", line 12, in <module>
gpt-researcher-1 | import lxml.html.clean
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/lxml/html/clean.py", line 18, in <module>
gpt-researcher-1 | raise ImportError(
gpt-researcher-1 | ImportError: lxml.html.clean module is now a separate project lxml_html_clean.
gpt-researcher-1 | Install lxml[html_clean] or lxml_html_clean directly.
gpt-researcher-1 | Traceback (most recent call last):
gpt-researcher-1 | File "/usr/local/bin/uvicorn", line 8, in <module>
gpt-researcher-1 | sys.exit(main())
gpt-researcher-1 | ^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1157, in __call__
gpt-researcher-1 | return self.main(*args, **kwargs)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1078, in main
gpt-researcher-1 | rv = self.invoke(ctx)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1434, in invoke
gpt-researcher-1 | return ctx.invoke(self.callback, **ctx.params)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 783, in invoke
gpt-researcher-1 | return __callback(*args, **kwargs)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 410, in main
gpt-researcher-1 | run(
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 577, in run
gpt-researcher-1 | server.run()
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 65, in run
gpt-researcher-1 | return asyncio.run(self.serve(sockets=sockets))
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/runners.py", line 190, in run
gpt-researcher-1 | return runner.run(main)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/runners.py", line 118, in run
gpt-researcher-1 | return self._loop.run_until_complete(task)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete
gpt-researcher-1 | return future.result()
gpt-researcher-1 | ^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 69, in serve
gpt-researcher-1 | await self._serve(sockets)
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 76, in _serve
gpt-researcher-1 | config.load()
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/config.py", line 434, in load
gpt-researcher-1 | self.loaded_app = import_from_string(self.app)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/importer.py", line 19, in import_from_string
gpt-researcher-1 | module = importlib.import_module(module_str)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module
gpt-researcher-1 | return _bootstrap._gcd_import(name[level:], package, level)
gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
gpt-researcher-1 | File "<frozen importlib._bootstrap_external>", line 940, in exec_module
gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
gpt-researcher-1 | File "/usr/src/app/main.py", line 1, in <module>
gpt-researcher-1 | from backend.server import app
gpt-researcher-1 | File "/usr/src/app/backend/__init__.py", line 1, in <module>
gpt-researcher-1 | from multi_agents import agents
gpt-researcher-1 | File "/usr/src/app/multi_agents/__init__.py", line 3, in <module>
gpt-researcher-1 | from .agents import (
gpt-researcher-1 | File "/usr/src/app/multi_agents/agents/__init__.py", line 1, in <module>
gpt-researcher-1 | from .researcher import ResearchAgent
gpt-researcher-1 | File "/usr/src/app/multi_agents/agents/researcher.py", line 1, in <module>
gpt-researcher-1 | from gpt_researcher import GPTResearcher
gpt-researcher-1 | File "/usr/src/app/gpt_researcher/__init__.py", line 1, in <module>
gpt-researcher-1 | from .master import GPTResearcher
gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/__init__.py", line 1, in <module>
gpt-researcher-1 | from .agent import GPTResearcher
gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/agent.py", line 10, in <module>
gpt-researcher-1 | from gpt_researcher.master.actions import *
gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/actions.py", line 10, in <module>
gpt-researcher-1 | from gpt_researcher.scraper.scraper import Scraper
gpt-researcher-1 | File "/usr/src/app/gpt_researcher/scraper/__init__.py", line 3, in <module>
gpt-researcher-1 | from .newspaper.newspaper import NewspaperScraper
gpt-researcher-1 | File "/usr/src/app/gpt_researcher/scraper/newspaper/newspaper.py", line 1, in <module>
gpt-researcher-1 | from newspaper import Article
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/__init__.py", line 10, in <module>
gpt-researcher-1 | from .api import (build, build_article, fulltext, hot, languages,
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/api.py", line 14, in <module>
gpt-researcher-1 | from .article import Article
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/article.py", line 15, in <module>
gpt-researcher-1 | from . import network
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/network.py", line 14, in <module>
gpt-researcher-1 | from .configuration import Configuration
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/configuration.py", line 15, in <module>
gpt-researcher-1 | from .parsers import Parser
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/parsers.py", line 12, in <module>
gpt-researcher-1 | import lxml.html.clean
gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/lxml/html/clean.py", line 18, in <module>
gpt-researcher-1 | raise ImportError(
gpt-researcher-1 | ImportError: lxml.html.clean module is now a separate project lxml_html_clean.
gpt-researcher-1 | Install lxml[html_clean] or lxml_html_clean directly.
@ElishaKay
I think I've just encountered the same problem when trying to start the project via docker compose (current master branch).
Environment: Apple M3 Sonoma 14.5 Docker Desktop 4.33.0 (Docker Verison 27.1.1)
Trace from
docker compose up
:Attaching to gpt-researcher-1, gptr-nextjs-1 gptr-nextjs-1 | gptr-nextjs-1 | > gpt-researcher@0.1.0 dev gptr-nextjs-1 | > next dev gptr-nextjs-1 | gpt-researcher-1 | Traceback (most recent call last): gpt-researcher-1 | File "/usr/local/bin/uvicorn", line 8, in <module> gpt-researcher-1 | sys.exit(main()) gpt-researcher-1 | ^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1157, in __call__ gpt-researcher-1 | return self.main(*args, **kwargs) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1078, in main gpt-researcher-1 | rv = self.invoke(ctx) gpt-researcher-1 | ^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1434, in invoke gpt-researcher-1 | return ctx.invoke(self.callback, **ctx.params) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 783, in invoke gpt-researcher-1 | return __callback(*args, **kwargs) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 410, in main gpt-researcher-1 | run( gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 577, in run gpt-researcher-1 | server.run() gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 65, in run gpt-researcher-1 | return asyncio.run(self.serve(sockets=sockets)) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/runners.py", line 190, in run gpt-researcher-1 | return runner.run(main) gpt-researcher-1 | ^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/runners.py", line 118, in run gpt-researcher-1 | return self._loop.run_until_complete(task) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete gpt-researcher-1 | return future.result() gpt-researcher-1 | ^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 69, in serve gpt-researcher-1 | await self._serve(sockets) gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 76, in _serve gpt-researcher-1 | config.load() gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/config.py", line 434, in load gpt-researcher-1 | self.loaded_app = import_from_string(self.app) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/importer.py", line 19, in import_from_string gpt-researcher-1 | module = importlib.import_module(module_str) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module gpt-researcher-1 | return _bootstrap._gcd_import(name[level:], package, level) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1204, in _gcd_import gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1176, in _find_and_load gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 690, in _load_unlocked gpt-researcher-1 | File "<frozen importlib._bootstrap_external>", line 940, in exec_module gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed gpt-researcher-1 | File "/usr/src/app/main.py", line 1, in <module> gpt-researcher-1 | from backend.server import app gpt-researcher-1 | File "/usr/src/app/backend/__init__.py", line 1, in <module> gpt-researcher-1 | from multi_agents import agents gpt-researcher-1 | File "/usr/src/app/multi_agents/__init__.py", line 3, in <module> gpt-researcher-1 | from .agents import ( gpt-researcher-1 | File "/usr/src/app/multi_agents/agents/__init__.py", line 1, in <module> gpt-researcher-1 | from .researcher import ResearchAgent gpt-researcher-1 | File "/usr/src/app/multi_agents/agents/researcher.py", line 1, in <module> gpt-researcher-1 | from gpt_researcher import GPTResearcher gpt-researcher-1 | File "/usr/src/app/gpt_researcher/__init__.py", line 1, in <module> gpt-researcher-1 | from .master import GPTResearcher gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/__init__.py", line 1, in <module> gpt-researcher-1 | from .agent import GPTResearcher gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/agent.py", line 10, in <module> gpt-researcher-1 | from gpt_researcher.master.actions import * gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/actions.py", line 10, in <module> gpt-researcher-1 | from gpt_researcher.scraper.scraper import Scraper gpt-researcher-1 | File "/usr/src/app/gpt_researcher/scraper/__init__.py", line 3, in <module> gpt-researcher-1 | from .newspaper.newspaper import NewspaperScraper gpt-researcher-1 | File "/usr/src/app/gpt_researcher/scraper/newspaper/newspaper.py", line 1, in <module> gpt-researcher-1 | from newspaper import Article gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/__init__.py", line 10, in <module> gpt-researcher-1 | from .api import (build, build_article, fulltext, hot, languages, gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/api.py", line 14, in <module> gpt-researcher-1 | from .article import Article gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/article.py", line 15, in <module> gpt-researcher-1 | from . import network gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/network.py", line 14, in <module> gpt-researcher-1 | from .configuration import Configuration gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/configuration.py", line 15, in <module> gpt-researcher-1 | from .parsers import Parser gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/parsers.py", line 12, in <module> gpt-researcher-1 | import lxml.html.clean gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/lxml/html/clean.py", line 18, in <module> gpt-researcher-1 | raise ImportError( gpt-researcher-1 | ImportError: lxml.html.clean module is now a separate project lxml_html_clean. gpt-researcher-1 | Install lxml[html_clean] or lxml_html_clean directly. gptr-nextjs-1 | ▲ Next.js 14.2.3 gptr-nextjs-1 | - Local: http://localhost:3000 gptr-nextjs-1 | gptr-nextjs-1 | ✓ Starting... gpt-researcher-1 exited with code 0 gpt-researcher-1 | Traceback (most recent call last): gpt-researcher-1 | File "/usr/local/bin/uvicorn", line 8, in <module> gpt-researcher-1 | sys.exit(main()) gpt-researcher-1 | ^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1157, in __call__ gpt-researcher-1 | return self.main(*args, **kwargs) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1078, in main gpt-researcher-1 | rv = self.invoke(ctx) gpt-researcher-1 | ^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1434, in invoke gpt-researcher-1 | return ctx.invoke(self.callback, **ctx.params) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 783, in invoke gpt-researcher-1 | return __callback(*args, **kwargs) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 410, in main gpt-researcher-1 | run( gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 577, in run gpt-researcher-1 | server.run() gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 65, in run gpt-researcher-1 | return asyncio.run(self.serve(sockets=sockets)) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/runners.py", line 190, in run gpt-researcher-1 | return runner.run(main) gpt-researcher-1 | ^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/runners.py", line 118, in run gpt-researcher-1 | return self._loop.run_until_complete(task) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete gpt-researcher-1 | return future.result() gpt-researcher-1 | ^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 69, in serve gpt-researcher-1 | await self._serve(sockets) gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 76, in _serve gpt-researcher-1 | config.load() gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/config.py", line 434, in load gpt-researcher-1 | self.loaded_app = import_from_string(self.app) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/importer.py", line 19, in import_from_string gpt-researcher-1 | module = importlib.import_module(module_str) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module gpt-researcher-1 | return _bootstrap._gcd_import(name[level:], package, level) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1204, in _gcd_import gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1176, in _find_and_load gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 690, in _load_unlocked gpt-researcher-1 | File "<frozen importlib._bootstrap_external>", line 940, in exec_module gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed gpt-researcher-1 | File "/usr/src/app/main.py", line 1, in <module> gpt-researcher-1 | from backend.server import app gpt-researcher-1 | File "/usr/src/app/backend/__init__.py", line 1, in <module> gpt-researcher-1 | from multi_agents import agents gpt-researcher-1 | File "/usr/src/app/multi_agents/__init__.py", line 3, in <module> gpt-researcher-1 | from .agents import ( gpt-researcher-1 | File "/usr/src/app/multi_agents/agents/__init__.py", line 1, in <module> gpt-researcher-1 | from .researcher import ResearchAgent gpt-researcher-1 | File "/usr/src/app/multi_agents/agents/researcher.py", line 1, in <module> gpt-researcher-1 | from gpt_researcher import GPTResearcher gpt-researcher-1 | File "/usr/src/app/gpt_researcher/__init__.py", line 1, in <module> gpt-researcher-1 | from .master import GPTResearcher gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/__init__.py", line 1, in <module> gpt-researcher-1 | from .agent import GPTResearcher gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/agent.py", line 10, in <module> gpt-researcher-1 | from gpt_researcher.master.actions import * gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/actions.py", line 10, in <module> gpt-researcher-1 | from gpt_researcher.scraper.scraper import Scraper gpt-researcher-1 | File "/usr/src/app/gpt_researcher/scraper/__init__.py", line 3, in <module> gpt-researcher-1 | from .newspaper.newspaper import NewspaperScraper gpt-researcher-1 | File "/usr/src/app/gpt_researcher/scraper/newspaper/newspaper.py", line 1, in <module> gpt-researcher-1 | from newspaper import Article gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/__init__.py", line 10, in <module> gpt-researcher-1 | from .api import (build, build_article, fulltext, hot, languages, gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/api.py", line 14, in <module> gpt-researcher-1 | from .article import Article gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/article.py", line 15, in <module> gpt-researcher-1 | from . import network gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/network.py", line 14, in <module> gpt-researcher-1 | from .configuration import Configuration gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/configuration.py", line 15, in <module> gpt-researcher-1 | from .parsers import Parser gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/parsers.py", line 12, in <module> gpt-researcher-1 | import lxml.html.clean gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/lxml/html/clean.py", line 18, in <module> gpt-researcher-1 | raise ImportError( gpt-researcher-1 | ImportError: lxml.html.clean module is now a separate project lxml_html_clean. gpt-researcher-1 | Install lxml[html_clean] or lxml_html_clean directly. gpt-researcher-1 exited with code 1 gptr-nextjs-1 | ✓ Ready in 1880ms gpt-researcher-1 | Traceback (most recent call last): gpt-researcher-1 | File "/usr/local/bin/uvicorn", line 8, in <module> gpt-researcher-1 | sys.exit(main()) gpt-researcher-1 | ^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1157, in __call__ gpt-researcher-1 | return self.main(*args, **kwargs) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1078, in main gpt-researcher-1 | rv = self.invoke(ctx) gpt-researcher-1 | ^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1434, in invoke gpt-researcher-1 | return ctx.invoke(self.callback, **ctx.params) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 783, in invoke gpt-researcher-1 | return __callback(*args, **kwargs) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 410, in main gpt-researcher-1 | run( gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 577, in run gpt-researcher-1 | server.run() gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 65, in run gpt-researcher-1 | return asyncio.run(self.serve(sockets=sockets)) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/runners.py", line 190, in run gpt-researcher-1 | return runner.run(main) gpt-researcher-1 | ^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/runners.py", line 118, in run gpt-researcher-1 | return self._loop.run_until_complete(task) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete gpt-researcher-1 | return future.result() gpt-researcher-1 | ^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 69, in serve gpt-researcher-1 | await self._serve(sockets) gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 76, in _serve gpt-researcher-1 | config.load() gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/config.py", line 434, in load gpt-researcher-1 | self.loaded_app = import_from_string(self.app) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/importer.py", line 19, in import_from_string gpt-researcher-1 | module = importlib.import_module(module_str) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module gpt-researcher-1 | return _bootstrap._gcd_import(name[level:], package, level) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1204, in _gcd_import gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1176, in _find_and_load gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 690, in _load_unlocked gpt-researcher-1 | File "<frozen importlib._bootstrap_external>", line 940, in exec_module gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed gpt-researcher-1 | File "/usr/src/app/main.py", line 1, in <module> gpt-researcher-1 | from backend.server import app gpt-researcher-1 | File "/usr/src/app/backend/__init__.py", line 1, in <module> gpt-researcher-1 | from multi_agents import agents gpt-researcher-1 | File "/usr/src/app/multi_agents/__init__.py", line 3, in <module> gpt-researcher-1 | from .agents import ( gpt-researcher-1 | File "/usr/src/app/multi_agents/agents/__init__.py", line 1, in <module> gpt-researcher-1 | from .researcher import ResearchAgent gpt-researcher-1 | File "/usr/src/app/multi_agents/agents/researcher.py", line 1, in <module> gpt-researcher-1 | from gpt_researcher import GPTResearcher gpt-researcher-1 | File "/usr/src/app/gpt_researcher/__init__.py", line 1, in <module> gpt-researcher-1 | from .master import GPTResearcher gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/__init__.py", line 1, in <module> gpt-researcher-1 | from .agent import GPTResearcher gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/agent.py", line 10, in <module> gpt-researcher-1 | from gpt_researcher.master.actions import * gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/actions.py", line 10, in <module> gpt-researcher-1 | from gpt_researcher.scraper.scraper import Scraper gpt-researcher-1 | File "/usr/src/app/gpt_researcher/scraper/__init__.py", line 3, in <module> gpt-researcher-1 | from .newspaper.newspaper import NewspaperScraper gpt-researcher-1 | File "/usr/src/app/gpt_researcher/scraper/newspaper/newspaper.py", line 1, in <module> gpt-researcher-1 | from newspaper import Article gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/__init__.py", line 10, in <module> gpt-researcher-1 | from .api import (build, build_article, fulltext, hot, languages, gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/api.py", line 14, in <module> gpt-researcher-1 | from .article import Article gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/article.py", line 15, in <module> gpt-researcher-1 | from . import network gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/network.py", line 14, in <module> gpt-researcher-1 | from .configuration import Configuration gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/configuration.py", line 15, in <module> gpt-researcher-1 | from .parsers import Parser gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/parsers.py", line 12, in <module> gpt-researcher-1 | import lxml.html.clean gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/lxml/html/clean.py", line 18, in <module> gpt-researcher-1 | raise ImportError( gpt-researcher-1 | ImportError: lxml.html.clean module is now a separate project lxml_html_clean. gpt-researcher-1 | Install lxml[html_clean] or lxml_html_clean directly. gpt-researcher-1 | Traceback (most recent call last): gpt-researcher-1 | File "/usr/local/bin/uvicorn", line 8, in <module> gpt-researcher-1 | sys.exit(main()) gpt-researcher-1 | ^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1157, in __call__ gpt-researcher-1 | return self.main(*args, **kwargs) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1078, in main gpt-researcher-1 | rv = self.invoke(ctx) gpt-researcher-1 | ^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1434, in invoke gpt-researcher-1 | return ctx.invoke(self.callback, **ctx.params) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 783, in invoke gpt-researcher-1 | return __callback(*args, **kwargs) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 410, in main gpt-researcher-1 | run( gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 577, in run gpt-researcher-1 | server.run() gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 65, in run gpt-researcher-1 | return asyncio.run(self.serve(sockets=sockets)) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/runners.py", line 190, in run gpt-researcher-1 | return runner.run(main) gpt-researcher-1 | ^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/runners.py", line 118, in run gpt-researcher-1 | return self._loop.run_until_complete(task) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete gpt-researcher-1 | return future.result() gpt-researcher-1 | ^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 69, in serve gpt-researcher-1 | await self._serve(sockets) gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 76, in _serve gpt-researcher-1 | config.load() gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/config.py", line 434, in load gpt-researcher-1 | self.loaded_app = import_from_string(self.app) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/importer.py", line 19, in import_from_string gpt-researcher-1 | module = importlib.import_module(module_str) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module gpt-researcher-1 | return _bootstrap._gcd_import(name[level:], package, level) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1204, in _gcd_import gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1176, in _find_and_load gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 690, in _load_unlocked gpt-researcher-1 | File "<frozen importlib._bootstrap_external>", line 940, in exec_module gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed gpt-researcher-1 | File "/usr/src/app/main.py", line 1, in <module> gpt-researcher-1 | from backend.server import app gpt-researcher-1 | File "/usr/src/app/backend/__init__.py", line 1, in <module> gpt-researcher-1 | from multi_agents import agents gpt-researcher-1 | File "/usr/src/app/multi_agents/__init__.py", line 3, in <module> gpt-researcher-1 | from .agents import ( gpt-researcher-1 | File "/usr/src/app/multi_agents/agents/__init__.py", line 1, in <module> gpt-researcher-1 | from .researcher import ResearchAgent gpt-researcher-1 | File "/usr/src/app/multi_agents/agents/researcher.py", line 1, in <module> gpt-researcher-1 | from gpt_researcher import GPTResearcher gpt-researcher-1 | File "/usr/src/app/gpt_researcher/__init__.py", line 1, in <module> gpt-researcher-1 | from .master import GPTResearcher gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/__init__.py", line 1, in <module> gpt-researcher-1 | from .agent import GPTResearcher gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/agent.py", line 10, in <module> gpt-researcher-1 | from gpt_researcher.master.actions import * gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/actions.py", line 10, in <module> gpt-researcher-1 | from gpt_researcher.scraper.scraper import Scraper gpt-researcher-1 | File "/usr/src/app/gpt_researcher/scraper/__init__.py", line 3, in <module> gpt-researcher-1 | from .newspaper.newspaper import NewspaperScraper gpt-researcher-1 | File "/usr/src/app/gpt_researcher/scraper/newspaper/newspaper.py", line 1, in <module> gpt-researcher-1 | from newspaper import Article gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/__init__.py", line 10, in <module> gpt-researcher-1 | from .api import (build, build_article, fulltext, hot, languages, gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/api.py", line 14, in <module> gpt-researcher-1 | from .article import Article gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/article.py", line 15, in <module> gpt-researcher-1 | from . import network gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/network.py", line 14, in <module> gpt-researcher-1 | from .configuration import Configuration gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/configuration.py", line 15, in <module> gpt-researcher-1 | from .parsers import Parser gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/parsers.py", line 12, in <module> gpt-researcher-1 | import lxml.html.clean gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/lxml/html/clean.py", line 18, in <module> gpt-researcher-1 | raise ImportError( gpt-researcher-1 | ImportError: lxml.html.clean module is now a separate project lxml_html_clean. gpt-researcher-1 | Install lxml[html_clean] or lxml_html_clean directly. gpt-researcher-1 | Traceback (most recent call last): gpt-researcher-1 | File "/usr/local/bin/uvicorn", line 8, in <module> gpt-researcher-1 | sys.exit(main()) gpt-researcher-1 | ^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1157, in __call__ gpt-researcher-1 | return self.main(*args, **kwargs) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1078, in main gpt-researcher-1 | rv = self.invoke(ctx) gpt-researcher-1 | ^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1434, in invoke gpt-researcher-1 | return ctx.invoke(self.callback, **ctx.params) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 783, in invoke gpt-researcher-1 | return __callback(*args, **kwargs) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 410, in main gpt-researcher-1 | run( gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 577, in run gpt-researcher-1 | server.run() gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 65, in run gpt-researcher-1 | return asyncio.run(self.serve(sockets=sockets)) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/runners.py", line 190, in run gpt-researcher-1 | return runner.run(main) gpt-researcher-1 | ^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/runners.py", line 118, in run gpt-researcher-1 | return self._loop.run_until_complete(task) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete gpt-researcher-1 | return future.result() gpt-researcher-1 | ^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 69, in serve gpt-researcher-1 | await self._serve(sockets) gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 76, in _serve gpt-researcher-1 | config.load() gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/config.py", line 434, in load gpt-researcher-1 | self.loaded_app = import_from_string(self.app) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/importer.py", line 19, in import_from_string gpt-researcher-1 | module = importlib.import_module(module_str) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module gpt-researcher-1 | return _bootstrap._gcd_import(name[level:], package, level) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1204, in _gcd_import gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1176, in _find_and_load gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 690, in _load_unlocked gpt-researcher-1 | File "<frozen importlib._bootstrap_external>", line 940, in exec_module gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed gpt-researcher-1 | File "/usr/src/app/main.py", line 1, in <module> gpt-researcher-1 | from backend.server import app gpt-researcher-1 | File "/usr/src/app/backend/__init__.py", line 1, in <module> gpt-researcher-1 | from multi_agents import agents gpt-researcher-1 | File "/usr/src/app/multi_agents/__init__.py", line 3, in <module> gpt-researcher-1 | from .agents import ( gpt-researcher-1 | File "/usr/src/app/multi_agents/agents/__init__.py", line 1, in <module> gpt-researcher-1 | from .researcher import ResearchAgent gpt-researcher-1 | File "/usr/src/app/multi_agents/agents/researcher.py", line 1, in <module> gpt-researcher-1 | from gpt_researcher import GPTResearcher gpt-researcher-1 | File "/usr/src/app/gpt_researcher/__init__.py", line 1, in <module> gpt-researcher-1 | from .master import GPTResearcher gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/__init__.py", line 1, in <module> gpt-researcher-1 | from .agent import GPTResearcher gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/agent.py", line 10, in <module> gpt-researcher-1 | from gpt_researcher.master.actions import * gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/actions.py", line 10, in <module> gpt-researcher-1 | from gpt_researcher.scraper.scraper import Scraper gpt-researcher-1 | File "/usr/src/app/gpt_researcher/scraper/__init__.py", line 3, in <module> gpt-researcher-1 | from .newspaper.newspaper import NewspaperScraper gpt-researcher-1 | File "/usr/src/app/gpt_researcher/scraper/newspaper/newspaper.py", line 1, in <module> gpt-researcher-1 | from newspaper import Article gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/__init__.py", line 10, in <module> gpt-researcher-1 | from .api import (build, build_article, fulltext, hot, languages, gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/api.py", line 14, in <module> gpt-researcher-1 | from .article import Article gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/article.py", line 15, in <module> gpt-researcher-1 | from . import network gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/network.py", line 14, in <module> gpt-researcher-1 | from .configuration import Configuration gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/configuration.py", line 15, in <module> gpt-researcher-1 | from .parsers import Parser gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/parsers.py", line 12, in <module> gpt-researcher-1 | import lxml.html.clean gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/lxml/html/clean.py", line 18, in <module> gpt-researcher-1 | raise ImportError( gpt-researcher-1 | ImportError: lxml.html.clean module is now a separate project lxml_html_clean. gpt-researcher-1 | Install lxml[html_clean] or lxml_html_clean directly. gpt-researcher-1 | Traceback (most recent call last): gpt-researcher-1 | File "/usr/local/bin/uvicorn", line 8, in <module> gpt-researcher-1 | sys.exit(main()) gpt-researcher-1 | ^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1157, in __call__ gpt-researcher-1 | return self.main(*args, **kwargs) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1078, in main gpt-researcher-1 | rv = self.invoke(ctx) gpt-researcher-1 | ^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1434, in invoke gpt-researcher-1 | return ctx.invoke(self.callback, **ctx.params) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 783, in invoke gpt-researcher-1 | return __callback(*args, **kwargs) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 410, in main gpt-researcher-1 | run( gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 577, in run gpt-researcher-1 | server.run() gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 65, in run gpt-researcher-1 | return asyncio.run(self.serve(sockets=sockets)) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/runners.py", line 190, in run gpt-researcher-1 | return runner.run(main) gpt-researcher-1 | ^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/runners.py", line 118, in run gpt-researcher-1 | return self._loop.run_until_complete(task) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete gpt-researcher-1 | return future.result() gpt-researcher-1 | ^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 69, in serve gpt-researcher-1 | await self._serve(sockets) gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 76, in _serve gpt-researcher-1 | config.load() gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/config.py", line 434, in load gpt-researcher-1 | self.loaded_app = import_from_string(self.app) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/importer.py", line 19, in import_from_string gpt-researcher-1 | module = importlib.import_module(module_str) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module gpt-researcher-1 | return _bootstrap._gcd_import(name[level:], package, level) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1204, in _gcd_import gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1176, in _find_and_load gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 690, in _load_unlocked gpt-researcher-1 | File "<frozen importlib._bootstrap_external>", line 940, in exec_module gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed gpt-researcher-1 | File "/usr/src/app/main.py", line 1, in <module> gpt-researcher-1 | from backend.server import app gpt-researcher-1 | File "/usr/src/app/backend/__init__.py", line 1, in <module> gpt-researcher-1 | from multi_agents import agents gpt-researcher-1 | File "/usr/src/app/multi_agents/__init__.py", line 3, in <module> gpt-researcher-1 | from .agents import ( gpt-researcher-1 | File "/usr/src/app/multi_agents/agents/__init__.py", line 1, in <module> gpt-researcher-1 | from .researcher import ResearchAgent gpt-researcher-1 | File "/usr/src/app/multi_agents/agents/researcher.py", line 1, in <module> gpt-researcher-1 | from gpt_researcher import GPTResearcher gpt-researcher-1 | File "/usr/src/app/gpt_researcher/__init__.py", line 1, in <module> gpt-researcher-1 | from .master import GPTResearcher gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/__init__.py", line 1, in <module> gpt-researcher-1 | from .agent import GPTResearcher gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/agent.py", line 10, in <module> gpt-researcher-1 | from gpt_researcher.master.actions import * gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/actions.py", line 10, in <module> gpt-researcher-1 | from gpt_researcher.scraper.scraper import Scraper gpt-researcher-1 | File "/usr/src/app/gpt_researcher/scraper/__init__.py", line 3, in <module> gpt-researcher-1 | from .newspaper.newspaper import NewspaperScraper gpt-researcher-1 | File "/usr/src/app/gpt_researcher/scraper/newspaper/newspaper.py", line 1, in <module> gpt-researcher-1 | from newspaper import Article gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/__init__.py", line 10, in <module> gpt-researcher-1 | from .api import (build, build_article, fulltext, hot, languages, gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/api.py", line 14, in <module> gpt-researcher-1 | from .article import Article gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/article.py", line 15, in <module> gpt-researcher-1 | from . import network gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/network.py", line 14, in <module> gpt-researcher-1 | from .configuration import Configuration gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/configuration.py", line 15, in <module> gpt-researcher-1 | from .parsers import Parser gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/parsers.py", line 12, in <module> gpt-researcher-1 | import lxml.html.clean gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/lxml/html/clean.py", line 18, in <module> gpt-researcher-1 | raise ImportError( gpt-researcher-1 | ImportError: lxml.html.clean module is now a separate project lxml_html_clean. gpt-researcher-1 | Install lxml[html_clean] or lxml_html_clean directly. gpt-researcher-1 | Traceback (most recent call last): gpt-researcher-1 | File "/usr/local/bin/uvicorn", line 8, in <module> gpt-researcher-1 | sys.exit(main()) gpt-researcher-1 | ^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1157, in __call__ gpt-researcher-1 | return self.main(*args, **kwargs) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1078, in main gpt-researcher-1 | rv = self.invoke(ctx) gpt-researcher-1 | ^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1434, in invoke gpt-researcher-1 | return ctx.invoke(self.callback, **ctx.params) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 783, in invoke gpt-researcher-1 | return __callback(*args, **kwargs) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 410, in main gpt-researcher-1 | run( gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 577, in run gpt-researcher-1 | server.run() gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 65, in run gpt-researcher-1 | return asyncio.run(self.serve(sockets=sockets)) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/runners.py", line 190, in run gpt-researcher-1 | return runner.run(main) gpt-researcher-1 | ^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/runners.py", line 118, in run gpt-researcher-1 | return self._loop.run_until_complete(task) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete gpt-researcher-1 | return future.result() gpt-researcher-1 | ^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 69, in serve gpt-researcher-1 | await self._serve(sockets) gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 76, in _serve gpt-researcher-1 | config.load() gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/config.py", line 434, in load gpt-researcher-1 | self.loaded_app = import_from_string(self.app) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/importer.py", line 19, in import_from_string gpt-researcher-1 | module = importlib.import_module(module_str) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module gpt-researcher-1 | return _bootstrap._gcd_import(name[level:], package, level) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1204, in _gcd_import gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1176, in _find_and_load gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 690, in _load_unlocked gpt-researcher-1 | File "<frozen importlib._bootstrap_external>", line 940, in exec_module gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed gpt-researcher-1 | File "/usr/src/app/main.py", line 1, in <module> gpt-researcher-1 | from backend.server import app gpt-researcher-1 | File "/usr/src/app/backend/__init__.py", line 1, in <module> gpt-researcher-1 | from multi_agents import agents gpt-researcher-1 | File "/usr/src/app/multi_agents/__init__.py", line 3, in <module> gpt-researcher-1 | from .agents import ( gpt-researcher-1 | File "/usr/src/app/multi_agents/agents/__init__.py", line 1, in <module> gpt-researcher-1 | from .researcher import ResearchAgent gpt-researcher-1 | File "/usr/src/app/multi_agents/agents/researcher.py", line 1, in <module> gpt-researcher-1 | from gpt_researcher import GPTResearcher gpt-researcher-1 | File "/usr/src/app/gpt_researcher/__init__.py", line 1, in <module> gpt-researcher-1 | from .master import GPTResearcher gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/__init__.py", line 1, in <module> gpt-researcher-1 | from .agent import GPTResearcher gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/agent.py", line 10, in <module> gpt-researcher-1 | from gpt_researcher.master.actions import * gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/actions.py", line 10, in <module> gpt-researcher-1 | from gpt_researcher.scraper.scraper import Scraper gpt-researcher-1 | File "/usr/src/app/gpt_researcher/scraper/__init__.py", line 3, in <module> gpt-researcher-1 | from .newspaper.newspaper import NewspaperScraper gpt-researcher-1 | File "/usr/src/app/gpt_researcher/scraper/newspaper/newspaper.py", line 1, in <module> gpt-researcher-1 | from newspaper import Article gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/__init__.py", line 10, in <module> gpt-researcher-1 | from .api import (build, build_article, fulltext, hot, languages, gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/api.py", line 14, in <module> gpt-researcher-1 | from .article import Article gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/article.py", line 15, in <module> gpt-researcher-1 | from . import network gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/network.py", line 14, in <module> gpt-researcher-1 | from .configuration import Configuration gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/configuration.py", line 15, in <module> gpt-researcher-1 | from .parsers import Parser gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/parsers.py", line 12, in <module> gpt-researcher-1 | import lxml.html.clean gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/lxml/html/clean.py", line 18, in <module> gpt-researcher-1 | raise ImportError( gpt-researcher-1 | ImportError: lxml.html.clean module is now a separate project lxml_html_clean. gpt-researcher-1 | Install lxml[html_clean] or lxml_html_clean directly. gpt-researcher-1 | Traceback (most recent call last): gpt-researcher-1 | File "/usr/local/bin/uvicorn", line 8, in <module> gpt-researcher-1 | sys.exit(main()) gpt-researcher-1 | ^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1157, in __call__ gpt-researcher-1 | return self.main(*args, **kwargs) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1078, in main gpt-researcher-1 | rv = self.invoke(ctx) gpt-researcher-1 | ^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1434, in invoke gpt-researcher-1 | return ctx.invoke(self.callback, **ctx.params) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 783, in invoke gpt-researcher-1 | return __callback(*args, **kwargs) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 410, in main gpt-researcher-1 | run( gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 577, in run gpt-researcher-1 | server.run() gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 65, in run gpt-researcher-1 | return asyncio.run(self.serve(sockets=sockets)) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/runners.py", line 190, in run gpt-researcher-1 | return runner.run(main) gpt-researcher-1 | ^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/runners.py", line 118, in run gpt-researcher-1 | return self._loop.run_until_complete(task) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete gpt-researcher-1 | return future.result() gpt-researcher-1 | ^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 69, in serve gpt-researcher-1 | await self._serve(sockets) gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 76, in _serve gpt-researcher-1 | config.load() gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/config.py", line 434, in load gpt-researcher-1 | self.loaded_app = import_from_string(self.app) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/importer.py", line 19, in import_from_string gpt-researcher-1 | module = importlib.import_module(module_str) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module gpt-researcher-1 | return _bootstrap._gcd_import(name[level:], package, level) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1204, in _gcd_import gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1176, in _find_and_load gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 690, in _load_unlocked gpt-researcher-1 | File "<frozen importlib._bootstrap_external>", line 940, in exec_module gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed gpt-researcher-1 | File "/usr/src/app/main.py", line 1, in <module> gpt-researcher-1 | from backend.server import app gpt-researcher-1 | File "/usr/src/app/backend/__init__.py", line 1, in <module> gpt-researcher-1 | from multi_agents import agents gpt-researcher-1 | File "/usr/src/app/multi_agents/__init__.py", line 3, in <module> gpt-researcher-1 | from .agents import ( gpt-researcher-1 | File "/usr/src/app/multi_agents/agents/__init__.py", line 1, in <module> gpt-researcher-1 | from .researcher import ResearchAgent gpt-researcher-1 | File "/usr/src/app/multi_agents/agents/researcher.py", line 1, in <module> gpt-researcher-1 | from gpt_researcher import GPTResearcher gpt-researcher-1 | File "/usr/src/app/gpt_researcher/__init__.py", line 1, in <module> gpt-researcher-1 | from .master import GPTResearcher gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/__init__.py", line 1, in <module> gpt-researcher-1 | from .agent import GPTResearcher gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/agent.py", line 10, in <module> gpt-researcher-1 | from gpt_researcher.master.actions import * gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/actions.py", line 10, in <module> gpt-researcher-1 | from gpt_researcher.scraper.scraper import Scraper gpt-researcher-1 | File "/usr/src/app/gpt_researcher/scraper/__init__.py", line 3, in <module> gpt-researcher-1 | from .newspaper.newspaper import NewspaperScraper gpt-researcher-1 | File "/usr/src/app/gpt_researcher/scraper/newspaper/newspaper.py", line 1, in <module> gpt-researcher-1 | from newspaper import Article gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/__init__.py", line 10, in <module> gpt-researcher-1 | from .api import (build, build_article, fulltext, hot, languages, gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/api.py", line 14, in <module> gpt-researcher-1 | from .article import Article gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/article.py", line 15, in <module> gpt-researcher-1 | from . import network gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/network.py", line 14, in <module> gpt-researcher-1 | from .configuration import Configuration gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/configuration.py", line 15, in <module> gpt-researcher-1 | from .parsers import Parser gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/parsers.py", line 12, in <module> gpt-researcher-1 | import lxml.html.clean gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/lxml/html/clean.py", line 18, in <module> gpt-researcher-1 | raise ImportError( gpt-researcher-1 | ImportError: lxml.html.clean module is now a separate project lxml_html_clean. gpt-researcher-1 | Install lxml[html_clean] or lxml_html_clean directly. gpt-researcher-1 | Traceback (most recent call last): gpt-researcher-1 | File "/usr/local/bin/uvicorn", line 8, in <module> gpt-researcher-1 | sys.exit(main()) gpt-researcher-1 | ^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1157, in __call__ gpt-researcher-1 | return self.main(*args, **kwargs) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1078, in main gpt-researcher-1 | rv = self.invoke(ctx) gpt-researcher-1 | ^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1434, in invoke gpt-researcher-1 | return ctx.invoke(self.callback, **ctx.params) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 783, in invoke gpt-researcher-1 | return __callback(*args, **kwargs) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 410, in main gpt-researcher-1 | run( gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 577, in run gpt-researcher-1 | server.run() gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 65, in run gpt-researcher-1 | return asyncio.run(self.serve(sockets=sockets)) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/runners.py", line 190, in run gpt-researcher-1 | return runner.run(main) gpt-researcher-1 | ^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/runners.py", line 118, in run gpt-researcher-1 | return self._loop.run_until_complete(task) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete gpt-researcher-1 | return future.result() gpt-researcher-1 | ^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 69, in serve gpt-researcher-1 | await self._serve(sockets) gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 76, in _serve gpt-researcher-1 | config.load() gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/config.py", line 434, in load gpt-researcher-1 | self.loaded_app = import_from_string(self.app) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/importer.py", line 19, in import_from_string gpt-researcher-1 | module = importlib.import_module(module_str) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module gpt-researcher-1 | return _bootstrap._gcd_import(name[level:], package, level) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1204, in _gcd_import gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1176, in _find_and_load gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 690, in _load_unlocked gpt-researcher-1 | File "<frozen importlib._bootstrap_external>", line 940, in exec_module gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed gpt-researcher-1 | File "/usr/src/app/main.py", line 1, in <module> gpt-researcher-1 | from backend.server import app gpt-researcher-1 | File "/usr/src/app/backend/__init__.py", line 1, in <module> gpt-researcher-1 | from multi_agents import agents gpt-researcher-1 | File "/usr/src/app/multi_agents/__init__.py", line 3, in <module> gpt-researcher-1 | from .agents import ( gpt-researcher-1 | File "/usr/src/app/multi_agents/agents/__init__.py", line 1, in <module> gpt-researcher-1 | from .researcher import ResearchAgent gpt-researcher-1 | File "/usr/src/app/multi_agents/agents/researcher.py", line 1, in <module> gpt-researcher-1 | from gpt_researcher import GPTResearcher gpt-researcher-1 | File "/usr/src/app/gpt_researcher/__init__.py", line 1, in <module> gpt-researcher-1 | from .master import GPTResearcher gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/__init__.py", line 1, in <module> gpt-researcher-1 | from .agent import GPTResearcher gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/agent.py", line 10, in <module> gpt-researcher-1 | from gpt_researcher.master.actions import * gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/actions.py", line 10, in <module> gpt-researcher-1 | from gpt_researcher.scraper.scraper import Scraper gpt-researcher-1 | File "/usr/src/app/gpt_researcher/scraper/__init__.py", line 3, in <module> gpt-researcher-1 | from .newspaper.newspaper import NewspaperScraper gpt-researcher-1 | File "/usr/src/app/gpt_researcher/scraper/newspaper/newspaper.py", line 1, in <module> gpt-researcher-1 | from newspaper import Article gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/__init__.py", line 10, in <module> gpt-researcher-1 | from .api import (build, build_article, fulltext, hot, languages, gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/api.py", line 14, in <module> gpt-researcher-1 | from .article import Article gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/article.py", line 15, in <module> gpt-researcher-1 | from . import network gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/network.py", line 14, in <module> gpt-researcher-1 | from .configuration import Configuration gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/configuration.py", line 15, in <module> gpt-researcher-1 | from .parsers import Parser gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/parsers.py", line 12, in <module> gpt-researcher-1 | import lxml.html.clean gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/lxml/html/clean.py", line 18, in <module> gpt-researcher-1 | raise ImportError( gpt-researcher-1 | ImportError: lxml.html.clean module is now a separate project lxml_html_clean. gpt-researcher-1 | Install lxml[html_clean] or lxml_html_clean directly. gpt-researcher-1 | Traceback (most recent call last): gpt-researcher-1 | File "/usr/local/bin/uvicorn", line 8, in <module> gpt-researcher-1 | sys.exit(main()) gpt-researcher-1 | ^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1157, in __call__ gpt-researcher-1 | return self.main(*args, **kwargs) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1078, in main gpt-researcher-1 | rv = self.invoke(ctx) gpt-researcher-1 | ^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1434, in invoke gpt-researcher-1 | return ctx.invoke(self.callback, **ctx.params) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 783, in invoke gpt-researcher-1 | return __callback(*args, **kwargs) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 410, in main gpt-researcher-1 | run( gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 577, in run gpt-researcher-1 | server.run() gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 65, in run gpt-researcher-1 | return asyncio.run(self.serve(sockets=sockets)) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/runners.py", line 190, in run gpt-researcher-1 | return runner.run(main) gpt-researcher-1 | ^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/runners.py", line 118, in run gpt-researcher-1 | return self._loop.run_until_complete(task) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete gpt-researcher-1 | return future.result() gpt-researcher-1 | ^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 69, in serve gpt-researcher-1 | await self._serve(sockets) gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 76, in _serve gpt-researcher-1 | config.load() gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/config.py", line 434, in load gpt-researcher-1 | self.loaded_app = import_from_string(self.app) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/importer.py", line 19, in import_from_string gpt-researcher-1 | module = importlib.import_module(module_str) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module gpt-researcher-1 | return _bootstrap._gcd_import(name[level:], package, level) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1204, in _gcd_import gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1176, in _find_and_load gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 690, in _load_unlocked gpt-researcher-1 | File "<frozen importlib._bootstrap_external>", line 940, in exec_module gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed gpt-researcher-1 | File "/usr/src/app/main.py", line 1, in <module> gpt-researcher-1 | from backend.server import app gpt-researcher-1 | File "/usr/src/app/backend/__init__.py", line 1, in <module> gpt-researcher-1 | from multi_agents import agents gpt-researcher-1 | File "/usr/src/app/multi_agents/__init__.py", line 3, in <module> gpt-researcher-1 | from .agents import ( gpt-researcher-1 | File "/usr/src/app/multi_agents/agents/__init__.py", line 1, in <module> gpt-researcher-1 | from .researcher import ResearchAgent gpt-researcher-1 | File "/usr/src/app/multi_agents/agents/researcher.py", line 1, in <module> gpt-researcher-1 | from gpt_researcher import GPTResearcher gpt-researcher-1 | File "/usr/src/app/gpt_researcher/__init__.py", line 1, in <module> gpt-researcher-1 | from .master import GPTResearcher gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/__init__.py", line 1, in <module> gpt-researcher-1 | from .agent import GPTResearcher gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/agent.py", line 10, in <module> gpt-researcher-1 | from gpt_researcher.master.actions import * gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/actions.py", line 10, in <module> gpt-researcher-1 | from gpt_researcher.scraper.scraper import Scraper gpt-researcher-1 | File "/usr/src/app/gpt_researcher/scraper/__init__.py", line 3, in <module> gpt-researcher-1 | from .newspaper.newspaper import NewspaperScraper gpt-researcher-1 | File "/usr/src/app/gpt_researcher/scraper/newspaper/newspaper.py", line 1, in <module> gpt-researcher-1 | from newspaper import Article gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/__init__.py", line 10, in <module> gpt-researcher-1 | from .api import (build, build_article, fulltext, hot, languages, gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/api.py", line 14, in <module> gpt-researcher-1 | from .article import Article gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/article.py", line 15, in <module> gpt-researcher-1 | from . import network gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/network.py", line 14, in <module> gpt-researcher-1 | from .configuration import Configuration gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/configuration.py", line 15, in <module> gpt-researcher-1 | from .parsers import Parser gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/parsers.py", line 12, in <module> gpt-researcher-1 | import lxml.html.clean gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/lxml/html/clean.py", line 18, in <module> gpt-researcher-1 | raise ImportError( gpt-researcher-1 | ImportError: lxml.html.clean module is now a separate project lxml_html_clean. gpt-researcher-1 | Install lxml[html_clean] or lxml_html_clean directly. gpt-researcher-1 | Traceback (most recent call last): gpt-researcher-1 | File "/usr/local/bin/uvicorn", line 8, in <module> gpt-researcher-1 | sys.exit(main()) gpt-researcher-1 | ^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1157, in __call__ gpt-researcher-1 | return self.main(*args, **kwargs) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1078, in main gpt-researcher-1 | rv = self.invoke(ctx) gpt-researcher-1 | ^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1434, in invoke gpt-researcher-1 | return ctx.invoke(self.callback, **ctx.params) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 783, in invoke gpt-researcher-1 | return __callback(*args, **kwargs) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 410, in main gpt-researcher-1 | run( gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 577, in run gpt-researcher-1 | server.run() gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 65, in run gpt-researcher-1 | return asyncio.run(self.serve(sockets=sockets)) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/runners.py", line 190, in run gpt-researcher-1 | return runner.run(main) gpt-researcher-1 | ^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/runners.py", line 118, in run gpt-researcher-1 | return self._loop.run_until_complete(task) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete gpt-researcher-1 | return future.result() gpt-researcher-1 | ^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 69, in serve gpt-researcher-1 | await self._serve(sockets) gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 76, in _serve gpt-researcher-1 | config.load() gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/config.py", line 434, in load gpt-researcher-1 | self.loaded_app = import_from_string(self.app) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/importer.py", line 19, in import_from_string gpt-researcher-1 | module = importlib.import_module(module_str) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module gpt-researcher-1 | return _bootstrap._gcd_import(name[level:], package, level) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1204, in _gcd_import gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1176, in _find_and_load gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 690, in _load_unlocked gpt-researcher-1 | File "<frozen importlib._bootstrap_external>", line 940, in exec_module gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed gpt-researcher-1 | File "/usr/src/app/main.py", line 1, in <module> gpt-researcher-1 | from backend.server import app gpt-researcher-1 | File "/usr/src/app/backend/__init__.py", line 1, in <module> gpt-researcher-1 | from multi_agents import agents gpt-researcher-1 | File "/usr/src/app/multi_agents/__init__.py", line 3, in <module> gpt-researcher-1 | from .agents import ( gpt-researcher-1 | File "/usr/src/app/multi_agents/agents/__init__.py", line 1, in <module> gpt-researcher-1 | from .researcher import ResearchAgent gpt-researcher-1 | File "/usr/src/app/multi_agents/agents/researcher.py", line 1, in <module> gpt-researcher-1 | from gpt_researcher import GPTResearcher gpt-researcher-1 | File "/usr/src/app/gpt_researcher/__init__.py", line 1, in <module> gpt-researcher-1 | from .master import GPTResearcher gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/__init__.py", line 1, in <module> gpt-researcher-1 | from .agent import GPTResearcher gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/agent.py", line 10, in <module> gpt-researcher-1 | from gpt_researcher.master.actions import * gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/actions.py", line 10, in <module> gpt-researcher-1 | from gpt_researcher.scraper.scraper import Scraper gpt-researcher-1 | File "/usr/src/app/gpt_researcher/scraper/__init__.py", line 3, in <module> gpt-researcher-1 | from .newspaper.newspaper import NewspaperScraper gpt-researcher-1 | File "/usr/src/app/gpt_researcher/scraper/newspaper/newspaper.py", line 1, in <module> gpt-researcher-1 | from newspaper import Article gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/__init__.py", line 10, in <module> gpt-researcher-1 | from .api import (build, build_article, fulltext, hot, languages, gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/api.py", line 14, in <module> gpt-researcher-1 | from .article import Article gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/article.py", line 15, in <module> gpt-researcher-1 | from . import network gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/network.py", line 14, in <module> gpt-researcher-1 | from .configuration import Configuration gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/configuration.py", line 15, in <module> gpt-researcher-1 | from .parsers import Parser gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/parsers.py", line 12, in <module> gpt-researcher-1 | import lxml.html.clean gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/lxml/html/clean.py", line 18, in <module> gpt-researcher-1 | raise ImportError( gpt-researcher-1 | ImportError: lxml.html.clean module is now a separate project lxml_html_clean. gpt-researcher-1 | Install lxml[html_clean] or lxml_html_clean directly. gpt-researcher-1 | Traceback (most recent call last): gpt-researcher-1 | File "/usr/local/bin/uvicorn", line 8, in <module> gpt-researcher-1 | sys.exit(main()) gpt-researcher-1 | ^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1157, in __call__ gpt-researcher-1 | return self.main(*args, **kwargs) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1078, in main gpt-researcher-1 | rv = self.invoke(ctx) gpt-researcher-1 | ^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1434, in invoke gpt-researcher-1 | return ctx.invoke(self.callback, **ctx.params) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 783, in invoke gpt-researcher-1 | return __callback(*args, **kwargs) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 410, in main gpt-researcher-1 | run( gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 577, in run gpt-researcher-1 | server.run() gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 65, in run gpt-researcher-1 | return asyncio.run(self.serve(sockets=sockets)) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/runners.py", line 190, in run gpt-researcher-1 | return runner.run(main) gpt-researcher-1 | ^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/runners.py", line 118, in run gpt-researcher-1 | return self._loop.run_until_complete(task) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete gpt-researcher-1 | return future.result() gpt-researcher-1 | ^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 69, in serve gpt-researcher-1 | await self._serve(sockets) gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 76, in _serve gpt-researcher-1 | config.load() gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/config.py", line 434, in load gpt-researcher-1 | self.loaded_app = import_from_string(self.app) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/importer.py", line 19, in import_from_string gpt-researcher-1 | module = importlib.import_module(module_str) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module gpt-researcher-1 | return _bootstrap._gcd_import(name[level:], package, level) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1204, in _gcd_import gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1176, in _find_and_load gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 690, in _load_unlocked gpt-researcher-1 | File "<frozen importlib._bootstrap_external>", line 940, in exec_module gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed gpt-researcher-1 | File "/usr/src/app/main.py", line 1, in <module> gpt-researcher-1 | from backend.server import app gpt-researcher-1 | File "/usr/src/app/backend/__init__.py", line 1, in <module> gpt-researcher-1 | from multi_agents import agents gpt-researcher-1 | File "/usr/src/app/multi_agents/__init__.py", line 3, in <module> gpt-researcher-1 | from .agents import ( gpt-researcher-1 | File "/usr/src/app/multi_agents/agents/__init__.py", line 1, in <module> gpt-researcher-1 | from .researcher import ResearchAgent gpt-researcher-1 | File "/usr/src/app/multi_agents/agents/researcher.py", line 1, in <module> gpt-researcher-1 | from gpt_researcher import GPTResearcher gpt-researcher-1 | File "/usr/src/app/gpt_researcher/__init__.py", line 1, in <module> gpt-researcher-1 | from .master import GPTResearcher gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/__init__.py", line 1, in <module> gpt-researcher-1 | from .agent import GPTResearcher gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/agent.py", line 10, in <module> gpt-researcher-1 | from gpt_researcher.master.actions import * gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/actions.py", line 10, in <module> gpt-researcher-1 | from gpt_researcher.scraper.scraper import Scraper gpt-researcher-1 | File "/usr/src/app/gpt_researcher/scraper/__init__.py", line 3, in <module> gpt-researcher-1 | from .newspaper.newspaper import NewspaperScraper gpt-researcher-1 | File "/usr/src/app/gpt_researcher/scraper/newspaper/newspaper.py", line 1, in <module> gpt-researcher-1 | from newspaper import Article gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/__init__.py", line 10, in <module> gpt-researcher-1 | from .api import (build, build_article, fulltext, hot, languages, gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/api.py", line 14, in <module> gpt-researcher-1 | from .article import Article gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/article.py", line 15, in <module> gpt-researcher-1 | from . import network gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/network.py", line 14, in <module> gpt-researcher-1 | from .configuration import Configuration gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/configuration.py", line 15, in <module> gpt-researcher-1 | from .parsers import Parser gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/parsers.py", line 12, in <module> gpt-researcher-1 | import lxml.html.clean gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/lxml/html/clean.py", line 18, in <module> gpt-researcher-1 | raise ImportError( gpt-researcher-1 | ImportError: lxml.html.clean module is now a separate project lxml_html_clean. gpt-researcher-1 | Install lxml[html_clean] or lxml_html_clean directly. gpt-researcher-1 | Traceback (most recent call last): gpt-researcher-1 | File "/usr/local/bin/uvicorn", line 8, in <module> gpt-researcher-1 | sys.exit(main()) gpt-researcher-1 | ^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1157, in __call__ gpt-researcher-1 | return self.main(*args, **kwargs) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1078, in main gpt-researcher-1 | rv = self.invoke(ctx) gpt-researcher-1 | ^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1434, in invoke gpt-researcher-1 | return ctx.invoke(self.callback, **ctx.params) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 783, in invoke gpt-researcher-1 | return __callback(*args, **kwargs) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 410, in main gpt-researcher-1 | run( gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 577, in run gpt-researcher-1 | server.run() gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 65, in run gpt-researcher-1 | return asyncio.run(self.serve(sockets=sockets)) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/runners.py", line 190, in run gpt-researcher-1 | return runner.run(main) gpt-researcher-1 | ^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/runners.py", line 118, in run gpt-researcher-1 | return self._loop.run_until_complete(task) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete gpt-researcher-1 | return future.result() gpt-researcher-1 | ^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 69, in serve gpt-researcher-1 | await self._serve(sockets) gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 76, in _serve gpt-researcher-1 | config.load() gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/config.py", line 434, in load gpt-researcher-1 | self.loaded_app = import_from_string(self.app) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/importer.py", line 19, in import_from_string gpt-researcher-1 | module = importlib.import_module(module_str) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module gpt-researcher-1 | return _bootstrap._gcd_import(name[level:], package, level) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1204, in _gcd_import gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1176, in _find_and_load gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 690, in _load_unlocked gpt-researcher-1 | File "<frozen importlib._bootstrap_external>", line 940, in exec_module gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed gpt-researcher-1 | File "/usr/src/app/main.py", line 1, in <module> gpt-researcher-1 | from backend.server import app gpt-researcher-1 | File "/usr/src/app/backend/__init__.py", line 1, in <module> gpt-researcher-1 | from multi_agents import agents gpt-researcher-1 | File "/usr/src/app/multi_agents/__init__.py", line 3, in <module> gpt-researcher-1 | from .agents import ( gpt-researcher-1 | File "/usr/src/app/multi_agents/agents/__init__.py", line 1, in <module> gpt-researcher-1 | from .researcher import ResearchAgent gpt-researcher-1 | File "/usr/src/app/multi_agents/agents/researcher.py", line 1, in <module> gpt-researcher-1 | from gpt_researcher import GPTResearcher gpt-researcher-1 | File "/usr/src/app/gpt_researcher/__init__.py", line 1, in <module> gpt-researcher-1 | from .master import GPTResearcher gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/__init__.py", line 1, in <module> gpt-researcher-1 | from .agent import GPTResearcher gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/agent.py", line 10, in <module> gpt-researcher-1 | from gpt_researcher.master.actions import * gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/actions.py", line 10, in <module> gpt-researcher-1 | from gpt_researcher.scraper.scraper import Scraper gpt-researcher-1 | File "/usr/src/app/gpt_researcher/scraper/__init__.py", line 3, in <module> gpt-researcher-1 | from .newspaper.newspaper import NewspaperScraper gpt-researcher-1 | File "/usr/src/app/gpt_researcher/scraper/newspaper/newspaper.py", line 1, in <module> gpt-researcher-1 | from newspaper import Article gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/__init__.py", line 10, in <module> gpt-researcher-1 | from .api import (build, build_article, fulltext, hot, languages, gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/api.py", line 14, in <module> gpt-researcher-1 | from .article import Article gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/article.py", line 15, in <module> gpt-researcher-1 | from . import network gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/network.py", line 14, in <module> gpt-researcher-1 | from .configuration import Configuration gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/configuration.py", line 15, in <module> gpt-researcher-1 | from .parsers import Parser gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/parsers.py", line 12, in <module> gpt-researcher-1 | import lxml.html.clean gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/lxml/html/clean.py", line 18, in <module> gpt-researcher-1 | raise ImportError( gpt-researcher-1 | ImportError: lxml.html.clean module is now a separate project lxml_html_clean. gpt-researcher-1 | Install lxml[html_clean] or lxml_html_clean directly. gpt-researcher-1 | Traceback (most recent call last): gpt-researcher-1 | File "/usr/local/bin/uvicorn", line 8, in <module> gpt-researcher-1 | sys.exit(main()) gpt-researcher-1 | ^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1157, in __call__ gpt-researcher-1 | return self.main(*args, **kwargs) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1078, in main gpt-researcher-1 | rv = self.invoke(ctx) gpt-researcher-1 | ^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1434, in invoke gpt-researcher-1 | return ctx.invoke(self.callback, **ctx.params) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 783, in invoke gpt-researcher-1 | return __callback(*args, **kwargs) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 410, in main gpt-researcher-1 | run( gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 577, in run gpt-researcher-1 | server.run() gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 65, in run gpt-researcher-1 | return asyncio.run(self.serve(sockets=sockets)) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/runners.py", line 190, in run gpt-researcher-1 | return runner.run(main) gpt-researcher-1 | ^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/runners.py", line 118, in run gpt-researcher-1 | return self._loop.run_until_complete(task) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete gpt-researcher-1 | return future.result() gpt-researcher-1 | ^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 69, in serve gpt-researcher-1 | await self._serve(sockets) gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 76, in _serve gpt-researcher-1 | config.load() gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/config.py", line 434, in load gpt-researcher-1 | self.loaded_app = import_from_string(self.app) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/importer.py", line 19, in import_from_string gpt-researcher-1 | module = importlib.import_module(module_str) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module gpt-researcher-1 | return _bootstrap._gcd_import(name[level:], package, level) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1204, in _gcd_import gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1176, in _find_and_load gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 690, in _load_unlocked gpt-researcher-1 | File "<frozen importlib._bootstrap_external>", line 940, in exec_module gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed gpt-researcher-1 | File "/usr/src/app/main.py", line 1, in <module> gpt-researcher-1 | from backend.server import app gpt-researcher-1 | File "/usr/src/app/backend/__init__.py", line 1, in <module> gpt-researcher-1 | from multi_agents import agents gpt-researcher-1 | File "/usr/src/app/multi_agents/__init__.py", line 3, in <module> gpt-researcher-1 | from .agents import ( gpt-researcher-1 | File "/usr/src/app/multi_agents/agents/__init__.py", line 1, in <module> gpt-researcher-1 | from .researcher import ResearchAgent gpt-researcher-1 | File "/usr/src/app/multi_agents/agents/researcher.py", line 1, in <module> gpt-researcher-1 | from gpt_researcher import GPTResearcher gpt-researcher-1 | File "/usr/src/app/gpt_researcher/__init__.py", line 1, in <module> gpt-researcher-1 | from .master import GPTResearcher gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/__init__.py", line 1, in <module> gpt-researcher-1 | from .agent import GPTResearcher gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/agent.py", line 10, in <module> gpt-researcher-1 | from gpt_researcher.master.actions import * gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/actions.py", line 10, in <module> gpt-researcher-1 | from gpt_researcher.scraper.scraper import Scraper gpt-researcher-1 | File "/usr/src/app/gpt_researcher/scraper/__init__.py", line 3, in <module> gpt-researcher-1 | from .newspaper.newspaper import NewspaperScraper gpt-researcher-1 | File "/usr/src/app/gpt_researcher/scraper/newspaper/newspaper.py", line 1, in <module> gpt-researcher-1 | from newspaper import Article gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/__init__.py", line 10, in <module> gpt-researcher-1 | from .api import (build, build_article, fulltext, hot, languages, gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/api.py", line 14, in <module> gpt-researcher-1 | from .article import Article gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/article.py", line 15, in <module> gpt-researcher-1 | from . import network gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/network.py", line 14, in <module> gpt-researcher-1 | from .configuration import Configuration gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/configuration.py", line 15, in <module> gpt-researcher-1 | from .parsers import Parser gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/parsers.py", line 12, in <module> gpt-researcher-1 | import lxml.html.clean gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/lxml/html/clean.py", line 18, in <module> gpt-researcher-1 | raise ImportError( gpt-researcher-1 | ImportError: lxml.html.clean module is now a separate project lxml_html_clean. gpt-researcher-1 | Install lxml[html_clean] or lxml_html_clean directly.
I also encountered the same problem when trying to start the project via docker compose (current master branch). Environment: OS—— Distributor ID: Ubuntu Description: Ubuntu 20.04.6 LTS Release: 20.04 Codename: focal
Docker—— Docker version 27.1.1, build 6312585 Docker Compose version v2.29.1
Who can solve this problem?
I got the same issue when trying to run on Fedora 37 using venv.
Solved by doing
pip install lxml_html_clean
I also had to install json5
and langgraph
. Those should probably be added to requirements.txt
?
Those exist in the multi_agents
directory requirements.txt. Great to hear it's resolved!
This is still an issue. Doing git clone of the main branch and "docker-compose up" gets this error.
I don't think this resolves the issue. My expectation would be that using docker compose does not require manual installation of packges.
I think I've just encountered the same problem when trying to start the project via docker compose (current master branch). Environment: Apple M3 Sonoma 14.5 Docker Desktop 4.33.0 (Docker Verison 27.1.1) Trace from
docker compose up
:Attaching to gpt-researcher-1, gptr-nextjs-1 gptr-nextjs-1 | gptr-nextjs-1 | > gpt-researcher@0.1.0 dev gptr-nextjs-1 | > next dev gptr-nextjs-1 | gpt-researcher-1 | Traceback (most recent call last): gpt-researcher-1 | File "/usr/local/bin/uvicorn", line 8, in <module> gpt-researcher-1 | sys.exit(main()) gpt-researcher-1 | ^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1157, in __call__ gpt-researcher-1 | return self.main(*args, **kwargs) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1078, in main gpt-researcher-1 | rv = self.invoke(ctx) gpt-researcher-1 | ^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1434, in invoke gpt-researcher-1 | return ctx.invoke(self.callback, **ctx.params) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 783, in invoke gpt-researcher-1 | return __callback(*args, **kwargs) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 410, in main gpt-researcher-1 | run( gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 577, in run gpt-researcher-1 | server.run() gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 65, in run gpt-researcher-1 | return asyncio.run(self.serve(sockets=sockets)) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/runners.py", line 190, in run gpt-researcher-1 | return runner.run(main) gpt-researcher-1 | ^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/runners.py", line 118, in run gpt-researcher-1 | return self._loop.run_until_complete(task) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete gpt-researcher-1 | return future.result() gpt-researcher-1 | ^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 69, in serve gpt-researcher-1 | await self._serve(sockets) gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 76, in _serve gpt-researcher-1 | config.load() gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/config.py", line 434, in load gpt-researcher-1 | self.loaded_app = import_from_string(self.app) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/importer.py", line 19, in import_from_string gpt-researcher-1 | module = importlib.import_module(module_str) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module gpt-researcher-1 | return _bootstrap._gcd_import(name[level:], package, level) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1204, in _gcd_import gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1176, in _find_and_load gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 690, in _load_unlocked gpt-researcher-1 | File "<frozen importlib._bootstrap_external>", line 940, in exec_module gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed gpt-researcher-1 | File "/usr/src/app/main.py", line 1, in <module> gpt-researcher-1 | from backend.server import app gpt-researcher-1 | File "/usr/src/app/backend/__init__.py", line 1, in <module> gpt-researcher-1 | from multi_agents import agents gpt-researcher-1 | File "/usr/src/app/multi_agents/__init__.py", line 3, in <module> gpt-researcher-1 | from .agents import ( gpt-researcher-1 | File "/usr/src/app/multi_agents/agents/__init__.py", line 1, in <module> gpt-researcher-1 | from .researcher import ResearchAgent gpt-researcher-1 | File "/usr/src/app/multi_agents/agents/researcher.py", line 1, in <module> gpt-researcher-1 | from gpt_researcher import GPTResearcher gpt-researcher-1 | File "/usr/src/app/gpt_researcher/__init__.py", line 1, in <module> gpt-researcher-1 | from .master import GPTResearcher gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/__init__.py", line 1, in <module> gpt-researcher-1 | from .agent import GPTResearcher gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/agent.py", line 10, in <module> gpt-researcher-1 | from gpt_researcher.master.actions import * gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/actions.py", line 10, in <module> gpt-researcher-1 | from gpt_researcher.scraper.scraper import Scraper gpt-researcher-1 | File "/usr/src/app/gpt_researcher/scraper/__init__.py", line 3, in <module> gpt-researcher-1 | from .newspaper.newspaper import NewspaperScraper gpt-researcher-1 | File "/usr/src/app/gpt_researcher/scraper/newspaper/newspaper.py", line 1, in <module> gpt-researcher-1 | from newspaper import Article gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/__init__.py", line 10, in <module> gpt-researcher-1 | from .api import (build, build_article, fulltext, hot, languages, gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/api.py", line 14, in <module> gpt-researcher-1 | from .article import Article gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/article.py", line 15, in <module> gpt-researcher-1 | from . import network gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/network.py", line 14, in <module> gpt-researcher-1 | from .configuration import Configuration gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/configuration.py", line 15, in <module> gpt-researcher-1 | from .parsers import Parser gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/parsers.py", line 12, in <module> gpt-researcher-1 | import lxml.html.clean gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/lxml/html/clean.py", line 18, in <module> gpt-researcher-1 | raise ImportError( gpt-researcher-1 | ImportError: lxml.html.clean module is now a separate project lxml_html_clean. gpt-researcher-1 | Install lxml[html_clean] or lxml_html_clean directly. gptr-nextjs-1 | ▲ Next.js 14.2.3 gptr-nextjs-1 | - Local: http://localhost:3000 gptr-nextjs-1 | gptr-nextjs-1 | ✓ Starting... gpt-researcher-1 exited with code 0 gpt-researcher-1 | Traceback (most recent call last): gpt-researcher-1 | File "/usr/local/bin/uvicorn", line 8, in <module> gpt-researcher-1 | sys.exit(main()) gpt-researcher-1 | ^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1157, in __call__ gpt-researcher-1 | return self.main(*args, **kwargs) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1078, in main gpt-researcher-1 | rv = self.invoke(ctx) gpt-researcher-1 | ^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1434, in invoke gpt-researcher-1 | return ctx.invoke(self.callback, **ctx.params) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 783, in invoke gpt-researcher-1 | return __callback(*args, **kwargs) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 410, in main gpt-researcher-1 | run( gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 577, in run gpt-researcher-1 | server.run() gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 65, in run gpt-researcher-1 | return asyncio.run(self.serve(sockets=sockets)) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/runners.py", line 190, in run gpt-researcher-1 | return runner.run(main) gpt-researcher-1 | ^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/runners.py", line 118, in run gpt-researcher-1 | return self._loop.run_until_complete(task) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete gpt-researcher-1 | return future.result() gpt-researcher-1 | ^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 69, in serve gpt-researcher-1 | await self._serve(sockets) gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 76, in _serve gpt-researcher-1 | config.load() gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/config.py", line 434, in load gpt-researcher-1 | self.loaded_app = import_from_string(self.app) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/importer.py", line 19, in import_from_string gpt-researcher-1 | module = importlib.import_module(module_str) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module gpt-researcher-1 | return _bootstrap._gcd_import(name[level:], package, level) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1204, in _gcd_import gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1176, in _find_and_load gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 690, in _load_unlocked gpt-researcher-1 | File "<frozen importlib._bootstrap_external>", line 940, in exec_module gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed gpt-researcher-1 | File "/usr/src/app/main.py", line 1, in <module> gpt-researcher-1 | from backend.server import app gpt-researcher-1 | File "/usr/src/app/backend/__init__.py", line 1, in <module> gpt-researcher-1 | from multi_agents import agents gpt-researcher-1 | File "/usr/src/app/multi_agents/__init__.py", line 3, in <module> gpt-researcher-1 | from .agents import ( gpt-researcher-1 | File "/usr/src/app/multi_agents/agents/__init__.py", line 1, in <module> gpt-researcher-1 | from .researcher import ResearchAgent gpt-researcher-1 | File "/usr/src/app/multi_agents/agents/researcher.py", line 1, in <module> gpt-researcher-1 | from gpt_researcher import GPTResearcher gpt-researcher-1 | File "/usr/src/app/gpt_researcher/__init__.py", line 1, in <module> gpt-researcher-1 | from .master import GPTResearcher gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/__init__.py", line 1, in <module> gpt-researcher-1 | from .agent import GPTResearcher gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/agent.py", line 10, in <module> gpt-researcher-1 | from gpt_researcher.master.actions import * gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/actions.py", line 10, in <module> gpt-researcher-1 | from gpt_researcher.scraper.scraper import Scraper gpt-researcher-1 | File "/usr/src/app/gpt_researcher/scraper/__init__.py", line 3, in <module> gpt-researcher-1 | from .newspaper.newspaper import NewspaperScraper gpt-researcher-1 | File "/usr/src/app/gpt_researcher/scraper/newspaper/newspaper.py", line 1, in <module> gpt-researcher-1 | from newspaper import Article gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/__init__.py", line 10, in <module> gpt-researcher-1 | from .api import (build, build_article, fulltext, hot, languages, gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/api.py", line 14, in <module> gpt-researcher-1 | from .article import Article gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/article.py", line 15, in <module> gpt-researcher-1 | from . import network gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/network.py", line 14, in <module> gpt-researcher-1 | from .configuration import Configuration gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/configuration.py", line 15, in <module> gpt-researcher-1 | from .parsers import Parser gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/parsers.py", line 12, in <module> gpt-researcher-1 | import lxml.html.clean gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/lxml/html/clean.py", line 18, in <module> gpt-researcher-1 | raise ImportError( gpt-researcher-1 | ImportError: lxml.html.clean module is now a separate project lxml_html_clean. gpt-researcher-1 | Install lxml[html_clean] or lxml_html_clean directly. gpt-researcher-1 exited with code 1 gptr-nextjs-1 | ✓ Ready in 1880ms gpt-researcher-1 | Traceback (most recent call last): gpt-researcher-1 | File "/usr/local/bin/uvicorn", line 8, in <module> gpt-researcher-1 | sys.exit(main()) gpt-researcher-1 | ^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1157, in __call__ gpt-researcher-1 | return self.main(*args, **kwargs) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1078, in main gpt-researcher-1 | rv = self.invoke(ctx) gpt-researcher-1 | ^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1434, in invoke gpt-researcher-1 | return ctx.invoke(self.callback, **ctx.params) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 783, in invoke gpt-researcher-1 | return __callback(*args, **kwargs) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 410, in main gpt-researcher-1 | run( gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 577, in run gpt-researcher-1 | server.run() gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 65, in run gpt-researcher-1 | return asyncio.run(self.serve(sockets=sockets)) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/runners.py", line 190, in run gpt-researcher-1 | return runner.run(main) gpt-researcher-1 | ^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/runners.py", line 118, in run gpt-researcher-1 | return self._loop.run_until_complete(task) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete gpt-researcher-1 | return future.result() gpt-researcher-1 | ^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 69, in serve gpt-researcher-1 | await self._serve(sockets) gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 76, in _serve gpt-researcher-1 | config.load() gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/config.py", line 434, in load gpt-researcher-1 | self.loaded_app = import_from_string(self.app) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/importer.py", line 19, in import_from_string gpt-researcher-1 | module = importlib.import_module(module_str) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module gpt-researcher-1 | return _bootstrap._gcd_import(name[level:], package, level) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1204, in _gcd_import gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1176, in _find_and_load gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 690, in _load_unlocked gpt-researcher-1 | File "<frozen importlib._bootstrap_external>", line 940, in exec_module gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed gpt-researcher-1 | File "/usr/src/app/main.py", line 1, in <module> gpt-researcher-1 | from backend.server import app gpt-researcher-1 | File "/usr/src/app/backend/__init__.py", line 1, in <module> gpt-researcher-1 | from multi_agents import agents gpt-researcher-1 | File "/usr/src/app/multi_agents/__init__.py", line 3, in <module> gpt-researcher-1 | from .agents import ( gpt-researcher-1 | File "/usr/src/app/multi_agents/agents/__init__.py", line 1, in <module> gpt-researcher-1 | from .researcher import ResearchAgent gpt-researcher-1 | File "/usr/src/app/multi_agents/agents/researcher.py", line 1, in <module> gpt-researcher-1 | from gpt_researcher import GPTResearcher gpt-researcher-1 | File "/usr/src/app/gpt_researcher/__init__.py", line 1, in <module> gpt-researcher-1 | from .master import GPTResearcher gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/__init__.py", line 1, in <module> gpt-researcher-1 | from .agent import GPTResearcher gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/agent.py", line 10, in <module> gpt-researcher-1 | from gpt_researcher.master.actions import * gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/actions.py", line 10, in <module> gpt-researcher-1 | from gpt_researcher.scraper.scraper import Scraper gpt-researcher-1 | File "/usr/src/app/gpt_researcher/scraper/__init__.py", line 3, in <module> gpt-researcher-1 | from .newspaper.newspaper import NewspaperScraper gpt-researcher-1 | File "/usr/src/app/gpt_researcher/scraper/newspaper/newspaper.py", line 1, in <module> gpt-researcher-1 | from newspaper import Article gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/__init__.py", line 10, in <module> gpt-researcher-1 | from .api import (build, build_article, fulltext, hot, languages, gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/api.py", line 14, in <module> gpt-researcher-1 | from .article import Article gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/article.py", line 15, in <module> gpt-researcher-1 | from . import network gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/network.py", line 14, in <module> gpt-researcher-1 | from .configuration import Configuration gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/configuration.py", line 15, in <module> gpt-researcher-1 | from .parsers import Parser gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/parsers.py", line 12, in <module> gpt-researcher-1 | import lxml.html.clean gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/lxml/html/clean.py", line 18, in <module> gpt-researcher-1 | raise ImportError( gpt-researcher-1 | ImportError: lxml.html.clean module is now a separate project lxml_html_clean. gpt-researcher-1 | Install lxml[html_clean] or lxml_html_clean directly. gpt-researcher-1 | Traceback (most recent call last): gpt-researcher-1 | File "/usr/local/bin/uvicorn", line 8, in <module> gpt-researcher-1 | sys.exit(main()) gpt-researcher-1 | ^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1157, in __call__ gpt-researcher-1 | return self.main(*args, **kwargs) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1078, in main gpt-researcher-1 | rv = self.invoke(ctx) gpt-researcher-1 | ^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1434, in invoke gpt-researcher-1 | return ctx.invoke(self.callback, **ctx.params) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 783, in invoke gpt-researcher-1 | return __callback(*args, **kwargs) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 410, in main gpt-researcher-1 | run( gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 577, in run gpt-researcher-1 | server.run() gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 65, in run gpt-researcher-1 | return asyncio.run(self.serve(sockets=sockets)) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/runners.py", line 190, in run gpt-researcher-1 | return runner.run(main) gpt-researcher-1 | ^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/runners.py", line 118, in run gpt-researcher-1 | return self._loop.run_until_complete(task) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete gpt-researcher-1 | return future.result() gpt-researcher-1 | ^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 69, in serve gpt-researcher-1 | await self._serve(sockets) gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 76, in _serve gpt-researcher-1 | config.load() gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/config.py", line 434, in load gpt-researcher-1 | self.loaded_app = import_from_string(self.app) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/importer.py", line 19, in import_from_string gpt-researcher-1 | module = importlib.import_module(module_str) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module gpt-researcher-1 | return _bootstrap._gcd_import(name[level:], package, level) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1204, in _gcd_import gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1176, in _find_and_load gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 690, in _load_unlocked gpt-researcher-1 | File "<frozen importlib._bootstrap_external>", line 940, in exec_module gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed gpt-researcher-1 | File "/usr/src/app/main.py", line 1, in <module> gpt-researcher-1 | from backend.server import app gpt-researcher-1 | File "/usr/src/app/backend/__init__.py", line 1, in <module> gpt-researcher-1 | from multi_agents import agents gpt-researcher-1 | File "/usr/src/app/multi_agents/__init__.py", line 3, in <module> gpt-researcher-1 | from .agents import ( gpt-researcher-1 | File "/usr/src/app/multi_agents/agents/__init__.py", line 1, in <module> gpt-researcher-1 | from .researcher import ResearchAgent gpt-researcher-1 | File "/usr/src/app/multi_agents/agents/researcher.py", line 1, in <module> gpt-researcher-1 | from gpt_researcher import GPTResearcher gpt-researcher-1 | File "/usr/src/app/gpt_researcher/__init__.py", line 1, in <module> gpt-researcher-1 | from .master import GPTResearcher gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/__init__.py", line 1, in <module> gpt-researcher-1 | from .agent import GPTResearcher gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/agent.py", line 10, in <module> gpt-researcher-1 | from gpt_researcher.master.actions import * gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/actions.py", line 10, in <module> gpt-researcher-1 | from gpt_researcher.scraper.scraper import Scraper gpt-researcher-1 | File "/usr/src/app/gpt_researcher/scraper/__init__.py", line 3, in <module> gpt-researcher-1 | from .newspaper.newspaper import NewspaperScraper gpt-researcher-1 | File "/usr/src/app/gpt_researcher/scraper/newspaper/newspaper.py", line 1, in <module> gpt-researcher-1 | from newspaper import Article gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/__init__.py", line 10, in <module> gpt-researcher-1 | from .api import (build, build_article, fulltext, hot, languages, gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/api.py", line 14, in <module> gpt-researcher-1 | from .article import Article gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/article.py", line 15, in <module> gpt-researcher-1 | from . import network gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/network.py", line 14, in <module> gpt-researcher-1 | from .configuration import Configuration gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/configuration.py", line 15, in <module> gpt-researcher-1 | from .parsers import Parser gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/parsers.py", line 12, in <module> gpt-researcher-1 | import lxml.html.clean gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/lxml/html/clean.py", line 18, in <module> gpt-researcher-1 | raise ImportError( gpt-researcher-1 | ImportError: lxml.html.clean module is now a separate project lxml_html_clean. gpt-researcher-1 | Install lxml[html_clean] or lxml_html_clean directly. gpt-researcher-1 | Traceback (most recent call last): gpt-researcher-1 | File "/usr/local/bin/uvicorn", line 8, in <module> gpt-researcher-1 | sys.exit(main()) gpt-researcher-1 | ^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1157, in __call__ gpt-researcher-1 | return self.main(*args, **kwargs) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1078, in main gpt-researcher-1 | rv = self.invoke(ctx) gpt-researcher-1 | ^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1434, in invoke gpt-researcher-1 | return ctx.invoke(self.callback, **ctx.params) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 783, in invoke gpt-researcher-1 | return __callback(*args, **kwargs) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 410, in main gpt-researcher-1 | run( gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 577, in run gpt-researcher-1 | server.run() gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 65, in run gpt-researcher-1 | return asyncio.run(self.serve(sockets=sockets)) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/runners.py", line 190, in run gpt-researcher-1 | return runner.run(main) gpt-researcher-1 | ^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/runners.py", line 118, in run gpt-researcher-1 | return self._loop.run_until_complete(task) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete gpt-researcher-1 | return future.result() gpt-researcher-1 | ^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 69, in serve gpt-researcher-1 | await self._serve(sockets) gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 76, in _serve gpt-researcher-1 | config.load() gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/config.py", line 434, in load gpt-researcher-1 | self.loaded_app = import_from_string(self.app) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/importer.py", line 19, in import_from_string gpt-researcher-1 | module = importlib.import_module(module_str) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module gpt-researcher-1 | return _bootstrap._gcd_import(name[level:], package, level) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1204, in _gcd_import gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1176, in _find_and_load gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 690, in _load_unlocked gpt-researcher-1 | File "<frozen importlib._bootstrap_external>", line 940, in exec_module gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed gpt-researcher-1 | File "/usr/src/app/main.py", line 1, in <module> gpt-researcher-1 | from backend.server import app gpt-researcher-1 | File "/usr/src/app/backend/__init__.py", line 1, in <module> gpt-researcher-1 | from multi_agents import agents gpt-researcher-1 | File "/usr/src/app/multi_agents/__init__.py", line 3, in <module> gpt-researcher-1 | from .agents import ( gpt-researcher-1 | File "/usr/src/app/multi_agents/agents/__init__.py", line 1, in <module> gpt-researcher-1 | from .researcher import ResearchAgent gpt-researcher-1 | File "/usr/src/app/multi_agents/agents/researcher.py", line 1, in <module> gpt-researcher-1 | from gpt_researcher import GPTResearcher gpt-researcher-1 | File "/usr/src/app/gpt_researcher/__init__.py", line 1, in <module> gpt-researcher-1 | from .master import GPTResearcher gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/__init__.py", line 1, in <module> gpt-researcher-1 | from .agent import GPTResearcher gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/agent.py", line 10, in <module> gpt-researcher-1 | from gpt_researcher.master.actions import * gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/actions.py", line 10, in <module> gpt-researcher-1 | from gpt_researcher.scraper.scraper import Scraper gpt-researcher-1 | File "/usr/src/app/gpt_researcher/scraper/__init__.py", line 3, in <module> gpt-researcher-1 | from .newspaper.newspaper import NewspaperScraper gpt-researcher-1 | File "/usr/src/app/gpt_researcher/scraper/newspaper/newspaper.py", line 1, in <module> gpt-researcher-1 | from newspaper import Article gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/__init__.py", line 10, in <module> gpt-researcher-1 | from .api import (build, build_article, fulltext, hot, languages, gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/api.py", line 14, in <module> gpt-researcher-1 | from .article import Article gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/article.py", line 15, in <module> gpt-researcher-1 | from . import network gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/network.py", line 14, in <module> gpt-researcher-1 | from .configuration import Configuration gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/configuration.py", line 15, in <module> gpt-researcher-1 | from .parsers import Parser gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/parsers.py", line 12, in <module> gpt-researcher-1 | import lxml.html.clean gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/lxml/html/clean.py", line 18, in <module> gpt-researcher-1 | raise ImportError( gpt-researcher-1 | ImportError: lxml.html.clean module is now a separate project lxml_html_clean. gpt-researcher-1 | Install lxml[html_clean] or lxml_html_clean directly. gpt-researcher-1 | Traceback (most recent call last): gpt-researcher-1 | File "/usr/local/bin/uvicorn", line 8, in <module> gpt-researcher-1 | sys.exit(main()) gpt-researcher-1 | ^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1157, in __call__ gpt-researcher-1 | return self.main(*args, **kwargs) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1078, in main gpt-researcher-1 | rv = self.invoke(ctx) gpt-researcher-1 | ^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1434, in invoke gpt-researcher-1 | return ctx.invoke(self.callback, **ctx.params) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 783, in invoke gpt-researcher-1 | return __callback(*args, **kwargs) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 410, in main gpt-researcher-1 | run( gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 577, in run gpt-researcher-1 | server.run() gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 65, in run gpt-researcher-1 | return asyncio.run(self.serve(sockets=sockets)) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/runners.py", line 190, in run gpt-researcher-1 | return runner.run(main) gpt-researcher-1 | ^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/runners.py", line 118, in run gpt-researcher-1 | return self._loop.run_until_complete(task) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete gpt-researcher-1 | return future.result() gpt-researcher-1 | ^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 69, in serve gpt-researcher-1 | await self._serve(sockets) gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 76, in _serve gpt-researcher-1 | config.load() gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/config.py", line 434, in load gpt-researcher-1 | self.loaded_app = import_from_string(self.app) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/importer.py", line 19, in import_from_string gpt-researcher-1 | module = importlib.import_module(module_str) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module gpt-researcher-1 | return _bootstrap._gcd_import(name[level:], package, level) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1204, in _gcd_import gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1176, in _find_and_load gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 690, in _load_unlocked gpt-researcher-1 | File "<frozen importlib._bootstrap_external>", line 940, in exec_module gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed gpt-researcher-1 | File "/usr/src/app/main.py", line 1, in <module> gpt-researcher-1 | from backend.server import app gpt-researcher-1 | File "/usr/src/app/backend/__init__.py", line 1, in <module> gpt-researcher-1 | from multi_agents import agents gpt-researcher-1 | File "/usr/src/app/multi_agents/__init__.py", line 3, in <module> gpt-researcher-1 | from .agents import ( gpt-researcher-1 | File "/usr/src/app/multi_agents/agents/__init__.py", line 1, in <module> gpt-researcher-1 | from .researcher import ResearchAgent gpt-researcher-1 | File "/usr/src/app/multi_agents/agents/researcher.py", line 1, in <module> gpt-researcher-1 | from gpt_researcher import GPTResearcher gpt-researcher-1 | File "/usr/src/app/gpt_researcher/__init__.py", line 1, in <module> gpt-researcher-1 | from .master import GPTResearcher gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/__init__.py", line 1, in <module> gpt-researcher-1 | from .agent import GPTResearcher gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/agent.py", line 10, in <module> gpt-researcher-1 | from gpt_researcher.master.actions import * gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/actions.py", line 10, in <module> gpt-researcher-1 | from gpt_researcher.scraper.scraper import Scraper gpt-researcher-1 | File "/usr/src/app/gpt_researcher/scraper/__init__.py", line 3, in <module> gpt-researcher-1 | from .newspaper.newspaper import NewspaperScraper gpt-researcher-1 | File "/usr/src/app/gpt_researcher/scraper/newspaper/newspaper.py", line 1, in <module> gpt-researcher-1 | from newspaper import Article gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/__init__.py", line 10, in <module> gpt-researcher-1 | from .api import (build, build_article, fulltext, hot, languages, gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/api.py", line 14, in <module> gpt-researcher-1 | from .article import Article gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/article.py", line 15, in <module> gpt-researcher-1 | from . import network gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/network.py", line 14, in <module> gpt-researcher-1 | from .configuration import Configuration gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/configuration.py", line 15, in <module> gpt-researcher-1 | from .parsers import Parser gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/parsers.py", line 12, in <module> gpt-researcher-1 | import lxml.html.clean gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/lxml/html/clean.py", line 18, in <module> gpt-researcher-1 | raise ImportError( gpt-researcher-1 | ImportError: lxml.html.clean module is now a separate project lxml_html_clean. gpt-researcher-1 | Install lxml[html_clean] or lxml_html_clean directly. gpt-researcher-1 | Traceback (most recent call last): gpt-researcher-1 | File "/usr/local/bin/uvicorn", line 8, in <module> gpt-researcher-1 | sys.exit(main()) gpt-researcher-1 | ^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1157, in __call__ gpt-researcher-1 | return self.main(*args, **kwargs) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1078, in main gpt-researcher-1 | rv = self.invoke(ctx) gpt-researcher-1 | ^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1434, in invoke gpt-researcher-1 | return ctx.invoke(self.callback, **ctx.params) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 783, in invoke gpt-researcher-1 | return __callback(*args, **kwargs) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 410, in main gpt-researcher-1 | run( gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 577, in run gpt-researcher-1 | server.run() gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 65, in run gpt-researcher-1 | return asyncio.run(self.serve(sockets=sockets)) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/runners.py", line 190, in run gpt-researcher-1 | return runner.run(main) gpt-researcher-1 | ^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/runners.py", line 118, in run gpt-researcher-1 | return self._loop.run_until_complete(task) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete gpt-researcher-1 | return future.result() gpt-researcher-1 | ^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 69, in serve gpt-researcher-1 | await self._serve(sockets) gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 76, in _serve gpt-researcher-1 | config.load() gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/config.py", line 434, in load gpt-researcher-1 | self.loaded_app = import_from_string(self.app) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/importer.py", line 19, in import_from_string gpt-researcher-1 | module = importlib.import_module(module_str) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module gpt-researcher-1 | return _bootstrap._gcd_import(name[level:], package, level) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1204, in _gcd_import gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1176, in _find_and_load gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 690, in _load_unlocked gpt-researcher-1 | File "<frozen importlib._bootstrap_external>", line 940, in exec_module gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed gpt-researcher-1 | File "/usr/src/app/main.py", line 1, in <module> gpt-researcher-1 | from backend.server import app gpt-researcher-1 | File "/usr/src/app/backend/__init__.py", line 1, in <module> gpt-researcher-1 | from multi_agents import agents gpt-researcher-1 | File "/usr/src/app/multi_agents/__init__.py", line 3, in <module> gpt-researcher-1 | from .agents import ( gpt-researcher-1 | File "/usr/src/app/multi_agents/agents/__init__.py", line 1, in <module> gpt-researcher-1 | from .researcher import ResearchAgent gpt-researcher-1 | File "/usr/src/app/multi_agents/agents/researcher.py", line 1, in <module> gpt-researcher-1 | from gpt_researcher import GPTResearcher gpt-researcher-1 | File "/usr/src/app/gpt_researcher/__init__.py", line 1, in <module> gpt-researcher-1 | from .master import GPTResearcher gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/__init__.py", line 1, in <module> gpt-researcher-1 | from .agent import GPTResearcher gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/agent.py", line 10, in <module> gpt-researcher-1 | from gpt_researcher.master.actions import * gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/actions.py", line 10, in <module> gpt-researcher-1 | from gpt_researcher.scraper.scraper import Scraper gpt-researcher-1 | File "/usr/src/app/gpt_researcher/scraper/__init__.py", line 3, in <module> gpt-researcher-1 | from .newspaper.newspaper import NewspaperScraper gpt-researcher-1 | File "/usr/src/app/gpt_researcher/scraper/newspaper/newspaper.py", line 1, in <module> gpt-researcher-1 | from newspaper import Article gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/__init__.py", line 10, in <module> gpt-researcher-1 | from .api import (build, build_article, fulltext, hot, languages, gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/api.py", line 14, in <module> gpt-researcher-1 | from .article import Article gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/article.py", line 15, in <module> gpt-researcher-1 | from . import network gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/network.py", line 14, in <module> gpt-researcher-1 | from .configuration import Configuration gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/configuration.py", line 15, in <module> gpt-researcher-1 | from .parsers import Parser gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/parsers.py", line 12, in <module> gpt-researcher-1 | import lxml.html.clean gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/lxml/html/clean.py", line 18, in <module> gpt-researcher-1 | raise ImportError( gpt-researcher-1 | ImportError: lxml.html.clean module is now a separate project lxml_html_clean. gpt-researcher-1 | Install lxml[html_clean] or lxml_html_clean directly. gpt-researcher-1 | Traceback (most recent call last): gpt-researcher-1 | File "/usr/local/bin/uvicorn", line 8, in <module> gpt-researcher-1 | sys.exit(main()) gpt-researcher-1 | ^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1157, in __call__ gpt-researcher-1 | return self.main(*args, **kwargs) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1078, in main gpt-researcher-1 | rv = self.invoke(ctx) gpt-researcher-1 | ^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1434, in invoke gpt-researcher-1 | return ctx.invoke(self.callback, **ctx.params) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 783, in invoke gpt-researcher-1 | return __callback(*args, **kwargs) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 410, in main gpt-researcher-1 | run( gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 577, in run gpt-researcher-1 | server.run() gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 65, in run gpt-researcher-1 | return asyncio.run(self.serve(sockets=sockets)) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/runners.py", line 190, in run gpt-researcher-1 | return runner.run(main) gpt-researcher-1 | ^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/runners.py", line 118, in run gpt-researcher-1 | return self._loop.run_until_complete(task) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete gpt-researcher-1 | return future.result() gpt-researcher-1 | ^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 69, in serve gpt-researcher-1 | await self._serve(sockets) gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 76, in _serve gpt-researcher-1 | config.load() gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/config.py", line 434, in load gpt-researcher-1 | self.loaded_app = import_from_string(self.app) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/importer.py", line 19, in import_from_string gpt-researcher-1 | module = importlib.import_module(module_str) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module gpt-researcher-1 | return _bootstrap._gcd_import(name[level:], package, level) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1204, in _gcd_import gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1176, in _find_and_load gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 690, in _load_unlocked gpt-researcher-1 | File "<frozen importlib._bootstrap_external>", line 940, in exec_module gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed gpt-researcher-1 | File "/usr/src/app/main.py", line 1, in <module> gpt-researcher-1 | from backend.server import app gpt-researcher-1 | File "/usr/src/app/backend/__init__.py", line 1, in <module> gpt-researcher-1 | from multi_agents import agents gpt-researcher-1 | File "/usr/src/app/multi_agents/__init__.py", line 3, in <module> gpt-researcher-1 | from .agents import ( gpt-researcher-1 | File "/usr/src/app/multi_agents/agents/__init__.py", line 1, in <module> gpt-researcher-1 | from .researcher import ResearchAgent gpt-researcher-1 | File "/usr/src/app/multi_agents/agents/researcher.py", line 1, in <module> gpt-researcher-1 | from gpt_researcher import GPTResearcher gpt-researcher-1 | File "/usr/src/app/gpt_researcher/__init__.py", line 1, in <module> gpt-researcher-1 | from .master import GPTResearcher gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/__init__.py", line 1, in <module> gpt-researcher-1 | from .agent import GPTResearcher gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/agent.py", line 10, in <module> gpt-researcher-1 | from gpt_researcher.master.actions import * gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/actions.py", line 10, in <module> gpt-researcher-1 | from gpt_researcher.scraper.scraper import Scraper gpt-researcher-1 | File "/usr/src/app/gpt_researcher/scraper/__init__.py", line 3, in <module> gpt-researcher-1 | from .newspaper.newspaper import NewspaperScraper gpt-researcher-1 | File "/usr/src/app/gpt_researcher/scraper/newspaper/newspaper.py", line 1, in <module> gpt-researcher-1 | from newspaper import Article gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/__init__.py", line 10, in <module> gpt-researcher-1 | from .api import (build, build_article, fulltext, hot, languages, gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/api.py", line 14, in <module> gpt-researcher-1 | from .article import Article gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/article.py", line 15, in <module> gpt-researcher-1 | from . import network gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/network.py", line 14, in <module> gpt-researcher-1 | from .configuration import Configuration gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/configuration.py", line 15, in <module> gpt-researcher-1 | from .parsers import Parser gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/parsers.py", line 12, in <module> gpt-researcher-1 | import lxml.html.clean gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/lxml/html/clean.py", line 18, in <module> gpt-researcher-1 | raise ImportError( gpt-researcher-1 | ImportError: lxml.html.clean module is now a separate project lxml_html_clean. gpt-researcher-1 | Install lxml[html_clean] or lxml_html_clean directly. gpt-researcher-1 | Traceback (most recent call last): gpt-researcher-1 | File "/usr/local/bin/uvicorn", line 8, in <module> gpt-researcher-1 | sys.exit(main()) gpt-researcher-1 | ^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1157, in __call__ gpt-researcher-1 | return self.main(*args, **kwargs) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1078, in main gpt-researcher-1 | rv = self.invoke(ctx) gpt-researcher-1 | ^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1434, in invoke gpt-researcher-1 | return ctx.invoke(self.callback, **ctx.params) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 783, in invoke gpt-researcher-1 | return __callback(*args, **kwargs) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 410, in main gpt-researcher-1 | run( gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 577, in run gpt-researcher-1 | server.run() gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 65, in run gpt-researcher-1 | return asyncio.run(self.serve(sockets=sockets)) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/runners.py", line 190, in run gpt-researcher-1 | return runner.run(main) gpt-researcher-1 | ^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/runners.py", line 118, in run gpt-researcher-1 | return self._loop.run_until_complete(task) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete gpt-researcher-1 | return future.result() gpt-researcher-1 | ^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 69, in serve gpt-researcher-1 | await self._serve(sockets) gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 76, in _serve gpt-researcher-1 | config.load() gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/config.py", line 434, in load gpt-researcher-1 | self.loaded_app = import_from_string(self.app) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/importer.py", line 19, in import_from_string gpt-researcher-1 | module = importlib.import_module(module_str) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module gpt-researcher-1 | return _bootstrap._gcd_import(name[level:], package, level) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1204, in _gcd_import gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1176, in _find_and_load gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 690, in _load_unlocked gpt-researcher-1 | File "<frozen importlib._bootstrap_external>", line 940, in exec_module gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed gpt-researcher-1 | File "/usr/src/app/main.py", line 1, in <module> gpt-researcher-1 | from backend.server import app gpt-researcher-1 | File "/usr/src/app/backend/__init__.py", line 1, in <module> gpt-researcher-1 | from multi_agents import agents gpt-researcher-1 | File "/usr/src/app/multi_agents/__init__.py", line 3, in <module> gpt-researcher-1 | from .agents import ( gpt-researcher-1 | File "/usr/src/app/multi_agents/agents/__init__.py", line 1, in <module> gpt-researcher-1 | from .researcher import ResearchAgent gpt-researcher-1 | File "/usr/src/app/multi_agents/agents/researcher.py", line 1, in <module> gpt-researcher-1 | from gpt_researcher import GPTResearcher gpt-researcher-1 | File "/usr/src/app/gpt_researcher/__init__.py", line 1, in <module> gpt-researcher-1 | from .master import GPTResearcher gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/__init__.py", line 1, in <module> gpt-researcher-1 | from .agent import GPTResearcher gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/agent.py", line 10, in <module> gpt-researcher-1 | from gpt_researcher.master.actions import * gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/actions.py", line 10, in <module> gpt-researcher-1 | from gpt_researcher.scraper.scraper import Scraper gpt-researcher-1 | File "/usr/src/app/gpt_researcher/scraper/__init__.py", line 3, in <module> gpt-researcher-1 | from .newspaper.newspaper import NewspaperScraper gpt-researcher-1 | File "/usr/src/app/gpt_researcher/scraper/newspaper/newspaper.py", line 1, in <module> gpt-researcher-1 | from newspaper import Article gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/__init__.py", line 10, in <module> gpt-researcher-1 | from .api import (build, build_article, fulltext, hot, languages, gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/api.py", line 14, in <module> gpt-researcher-1 | from .article import Article gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/article.py", line 15, in <module> gpt-researcher-1 | from . import network gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/network.py", line 14, in <module> gpt-researcher-1 | from .configuration import Configuration gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/configuration.py", line 15, in <module> gpt-researcher-1 | from .parsers import Parser gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/parsers.py", line 12, in <module> gpt-researcher-1 | import lxml.html.clean gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/lxml/html/clean.py", line 18, in <module> gpt-researcher-1 | raise ImportError( gpt-researcher-1 | ImportError: lxml.html.clean module is now a separate project lxml_html_clean. gpt-researcher-1 | Install lxml[html_clean] or lxml_html_clean directly. gpt-researcher-1 | Traceback (most recent call last): gpt-researcher-1 | File "/usr/local/bin/uvicorn", line 8, in <module> gpt-researcher-1 | sys.exit(main()) gpt-researcher-1 | ^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1157, in __call__ gpt-researcher-1 | return self.main(*args, **kwargs) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1078, in main gpt-researcher-1 | rv = self.invoke(ctx) gpt-researcher-1 | ^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1434, in invoke gpt-researcher-1 | return ctx.invoke(self.callback, **ctx.params) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 783, in invoke gpt-researcher-1 | return __callback(*args, **kwargs) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 410, in main gpt-researcher-1 | run( gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 577, in run gpt-researcher-1 | server.run() gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 65, in run gpt-researcher-1 | return asyncio.run(self.serve(sockets=sockets)) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/runners.py", line 190, in run gpt-researcher-1 | return runner.run(main) gpt-researcher-1 | ^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/runners.py", line 118, in run gpt-researcher-1 | return self._loop.run_until_complete(task) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete gpt-researcher-1 | return future.result() gpt-researcher-1 | ^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 69, in serve gpt-researcher-1 | await self._serve(sockets) gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 76, in _serve gpt-researcher-1 | config.load() gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/config.py", line 434, in load gpt-researcher-1 | self.loaded_app = import_from_string(self.app) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/importer.py", line 19, in import_from_string gpt-researcher-1 | module = importlib.import_module(module_str) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module gpt-researcher-1 | return _bootstrap._gcd_import(name[level:], package, level) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1204, in _gcd_import gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1176, in _find_and_load gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 690, in _load_unlocked gpt-researcher-1 | File "<frozen importlib._bootstrap_external>", line 940, in exec_module gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed gpt-researcher-1 | File "/usr/src/app/main.py", line 1, in <module> gpt-researcher-1 | from backend.server import app gpt-researcher-1 | File "/usr/src/app/backend/__init__.py", line 1, in <module> gpt-researcher-1 | from multi_agents import agents gpt-researcher-1 | File "/usr/src/app/multi_agents/__init__.py", line 3, in <module> gpt-researcher-1 | from .agents import ( gpt-researcher-1 | File "/usr/src/app/multi_agents/agents/__init__.py", line 1, in <module> gpt-researcher-1 | from .researcher import ResearchAgent gpt-researcher-1 | File "/usr/src/app/multi_agents/agents/researcher.py", line 1, in <module> gpt-researcher-1 | from gpt_researcher import GPTResearcher gpt-researcher-1 | File "/usr/src/app/gpt_researcher/__init__.py", line 1, in <module> gpt-researcher-1 | from .master import GPTResearcher gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/__init__.py", line 1, in <module> gpt-researcher-1 | from .agent import GPTResearcher gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/agent.py", line 10, in <module> gpt-researcher-1 | from gpt_researcher.master.actions import * gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/actions.py", line 10, in <module> gpt-researcher-1 | from gpt_researcher.scraper.scraper import Scraper gpt-researcher-1 | File "/usr/src/app/gpt_researcher/scraper/__init__.py", line 3, in <module> gpt-researcher-1 | from .newspaper.newspaper import NewspaperScraper gpt-researcher-1 | File "/usr/src/app/gpt_researcher/scraper/newspaper/newspaper.py", line 1, in <module> gpt-researcher-1 | from newspaper import Article gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/__init__.py", line 10, in <module> gpt-researcher-1 | from .api import (build, build_article, fulltext, hot, languages, gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/api.py", line 14, in <module> gpt-researcher-1 | from .article import Article gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/article.py", line 15, in <module> gpt-researcher-1 | from . import network gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/network.py", line 14, in <module> gpt-researcher-1 | from .configuration import Configuration gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/configuration.py", line 15, in <module> gpt-researcher-1 | from .parsers import Parser gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/parsers.py", line 12, in <module> gpt-researcher-1 | import lxml.html.clean gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/lxml/html/clean.py", line 18, in <module> gpt-researcher-1 | raise ImportError( gpt-researcher-1 | ImportError: lxml.html.clean module is now a separate project lxml_html_clean. gpt-researcher-1 | Install lxml[html_clean] or lxml_html_clean directly. gpt-researcher-1 | Traceback (most recent call last): gpt-researcher-1 | File "/usr/local/bin/uvicorn", line 8, in <module> gpt-researcher-1 | sys.exit(main()) gpt-researcher-1 | ^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1157, in __call__ gpt-researcher-1 | return self.main(*args, **kwargs) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1078, in main gpt-researcher-1 | rv = self.invoke(ctx) gpt-researcher-1 | ^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1434, in invoke gpt-researcher-1 | return ctx.invoke(self.callback, **ctx.params) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 783, in invoke gpt-researcher-1 | return __callback(*args, **kwargs) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 410, in main gpt-researcher-1 | run( gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 577, in run gpt-researcher-1 | server.run() gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 65, in run gpt-researcher-1 | return asyncio.run(self.serve(sockets=sockets)) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/runners.py", line 190, in run gpt-researcher-1 | return runner.run(main) gpt-researcher-1 | ^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/runners.py", line 118, in run gpt-researcher-1 | return self._loop.run_until_complete(task) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete gpt-researcher-1 | return future.result() gpt-researcher-1 | ^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 69, in serve gpt-researcher-1 | await self._serve(sockets) gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 76, in _serve gpt-researcher-1 | config.load() gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/config.py", line 434, in load gpt-researcher-1 | self.loaded_app = import_from_string(self.app) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/importer.py", line 19, in import_from_string gpt-researcher-1 | module = importlib.import_module(module_str) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module gpt-researcher-1 | return _bootstrap._gcd_import(name[level:], package, level) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1204, in _gcd_import gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1176, in _find_and_load gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 690, in _load_unlocked gpt-researcher-1 | File "<frozen importlib._bootstrap_external>", line 940, in exec_module gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed gpt-researcher-1 | File "/usr/src/app/main.py", line 1, in <module> gpt-researcher-1 | from backend.server import app gpt-researcher-1 | File "/usr/src/app/backend/__init__.py", line 1, in <module> gpt-researcher-1 | from multi_agents import agents gpt-researcher-1 | File "/usr/src/app/multi_agents/__init__.py", line 3, in <module> gpt-researcher-1 | from .agents import ( gpt-researcher-1 | File "/usr/src/app/multi_agents/agents/__init__.py", line 1, in <module> gpt-researcher-1 | from .researcher import ResearchAgent gpt-researcher-1 | File "/usr/src/app/multi_agents/agents/researcher.py", line 1, in <module> gpt-researcher-1 | from gpt_researcher import GPTResearcher gpt-researcher-1 | File "/usr/src/app/gpt_researcher/__init__.py", line 1, in <module> gpt-researcher-1 | from .master import GPTResearcher gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/__init__.py", line 1, in <module> gpt-researcher-1 | from .agent import GPTResearcher gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/agent.py", line 10, in <module> gpt-researcher-1 | from gpt_researcher.master.actions import * gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/actions.py", line 10, in <module> gpt-researcher-1 | from gpt_researcher.scraper.scraper import Scraper gpt-researcher-1 | File "/usr/src/app/gpt_researcher/scraper/__init__.py", line 3, in <module> gpt-researcher-1 | from .newspaper.newspaper import NewspaperScraper gpt-researcher-1 | File "/usr/src/app/gpt_researcher/scraper/newspaper/newspaper.py", line 1, in <module> gpt-researcher-1 | from newspaper import Article gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/__init__.py", line 10, in <module> gpt-researcher-1 | from .api import (build, build_article, fulltext, hot, languages, gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/api.py", line 14, in <module> gpt-researcher-1 | from .article import Article gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/article.py", line 15, in <module> gpt-researcher-1 | from . import network gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/network.py", line 14, in <module> gpt-researcher-1 | from .configuration import Configuration gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/configuration.py", line 15, in <module> gpt-researcher-1 | from .parsers import Parser gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/parsers.py", line 12, in <module> gpt-researcher-1 | import lxml.html.clean gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/lxml/html/clean.py", line 18, in <module> gpt-researcher-1 | raise ImportError( gpt-researcher-1 | ImportError: lxml.html.clean module is now a separate project lxml_html_clean. gpt-researcher-1 | Install lxml[html_clean] or lxml_html_clean directly. gpt-researcher-1 | Traceback (most recent call last): gpt-researcher-1 | File "/usr/local/bin/uvicorn", line 8, in <module> gpt-researcher-1 | sys.exit(main()) gpt-researcher-1 | ^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1157, in __call__ gpt-researcher-1 | return self.main(*args, **kwargs) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1078, in main gpt-researcher-1 | rv = self.invoke(ctx) gpt-researcher-1 | ^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1434, in invoke gpt-researcher-1 | return ctx.invoke(self.callback, **ctx.params) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 783, in invoke gpt-researcher-1 | return __callback(*args, **kwargs) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 410, in main gpt-researcher-1 | run( gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 577, in run gpt-researcher-1 | server.run() gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 65, in run gpt-researcher-1 | return asyncio.run(self.serve(sockets=sockets)) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/runners.py", line 190, in run gpt-researcher-1 | return runner.run(main) gpt-researcher-1 | ^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/runners.py", line 118, in run gpt-researcher-1 | return self._loop.run_until_complete(task) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete gpt-researcher-1 | return future.result() gpt-researcher-1 | ^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 69, in serve gpt-researcher-1 | await self._serve(sockets) gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 76, in _serve gpt-researcher-1 | config.load() gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/config.py", line 434, in load gpt-researcher-1 | self.loaded_app = import_from_string(self.app) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/importer.py", line 19, in import_from_string gpt-researcher-1 | module = importlib.import_module(module_str) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module gpt-researcher-1 | return _bootstrap._gcd_import(name[level:], package, level) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1204, in _gcd_import gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1176, in _find_and_load gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 690, in _load_unlocked gpt-researcher-1 | File "<frozen importlib._bootstrap_external>", line 940, in exec_module gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed gpt-researcher-1 | File "/usr/src/app/main.py", line 1, in <module> gpt-researcher-1 | from backend.server import app gpt-researcher-1 | File "/usr/src/app/backend/__init__.py", line 1, in <module> gpt-researcher-1 | from multi_agents import agents gpt-researcher-1 | File "/usr/src/app/multi_agents/__init__.py", line 3, in <module> gpt-researcher-1 | from .agents import ( gpt-researcher-1 | File "/usr/src/app/multi_agents/agents/__init__.py", line 1, in <module> gpt-researcher-1 | from .researcher import ResearchAgent gpt-researcher-1 | File "/usr/src/app/multi_agents/agents/researcher.py", line 1, in <module> gpt-researcher-1 | from gpt_researcher import GPTResearcher gpt-researcher-1 | File "/usr/src/app/gpt_researcher/__init__.py", line 1, in <module> gpt-researcher-1 | from .master import GPTResearcher gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/__init__.py", line 1, in <module> gpt-researcher-1 | from .agent import GPTResearcher gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/agent.py", line 10, in <module> gpt-researcher-1 | from gpt_researcher.master.actions import * gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/actions.py", line 10, in <module> gpt-researcher-1 | from gpt_researcher.scraper.scraper import Scraper gpt-researcher-1 | File "/usr/src/app/gpt_researcher/scraper/__init__.py", line 3, in <module> gpt-researcher-1 | from .newspaper.newspaper import NewspaperScraper gpt-researcher-1 | File "/usr/src/app/gpt_researcher/scraper/newspaper/newspaper.py", line 1, in <module> gpt-researcher-1 | from newspaper import Article gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/__init__.py", line 10, in <module> gpt-researcher-1 | from .api import (build, build_article, fulltext, hot, languages, gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/api.py", line 14, in <module> gpt-researcher-1 | from .article import Article gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/article.py", line 15, in <module> gpt-researcher-1 | from . import network gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/network.py", line 14, in <module> gpt-researcher-1 | from .configuration import Configuration gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/configuration.py", line 15, in <module> gpt-researcher-1 | from .parsers import Parser gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/parsers.py", line 12, in <module> gpt-researcher-1 | import lxml.html.clean gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/lxml/html/clean.py", line 18, in <module> gpt-researcher-1 | raise ImportError( gpt-researcher-1 | ImportError: lxml.html.clean module is now a separate project lxml_html_clean. gpt-researcher-1 | Install lxml[html_clean] or lxml_html_clean directly. gpt-researcher-1 | Traceback (most recent call last): gpt-researcher-1 | File "/usr/local/bin/uvicorn", line 8, in <module> gpt-researcher-1 | sys.exit(main()) gpt-researcher-1 | ^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1157, in __call__ gpt-researcher-1 | return self.main(*args, **kwargs) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1078, in main gpt-researcher-1 | rv = self.invoke(ctx) gpt-researcher-1 | ^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1434, in invoke gpt-researcher-1 | return ctx.invoke(self.callback, **ctx.params) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 783, in invoke gpt-researcher-1 | return __callback(*args, **kwargs) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 410, in main gpt-researcher-1 | run( gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 577, in run gpt-researcher-1 | server.run() gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 65, in run gpt-researcher-1 | return asyncio.run(self.serve(sockets=sockets)) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/runners.py", line 190, in run gpt-researcher-1 | return runner.run(main) gpt-researcher-1 | ^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/runners.py", line 118, in run gpt-researcher-1 | return self._loop.run_until_complete(task) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete gpt-researcher-1 | return future.result() gpt-researcher-1 | ^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 69, in serve gpt-researcher-1 | await self._serve(sockets) gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 76, in _serve gpt-researcher-1 | config.load() gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/config.py", line 434, in load gpt-researcher-1 | self.loaded_app = import_from_string(self.app) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/importer.py", line 19, in import_from_string gpt-researcher-1 | module = importlib.import_module(module_str) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module gpt-researcher-1 | return _bootstrap._gcd_import(name[level:], package, level) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1204, in _gcd_import gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1176, in _find_and_load gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 690, in _load_unlocked gpt-researcher-1 | File "<frozen importlib._bootstrap_external>", line 940, in exec_module gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed gpt-researcher-1 | File "/usr/src/app/main.py", line 1, in <module> gpt-researcher-1 | from backend.server import app gpt-researcher-1 | File "/usr/src/app/backend/__init__.py", line 1, in <module> gpt-researcher-1 | from multi_agents import agents gpt-researcher-1 | File "/usr/src/app/multi_agents/__init__.py", line 3, in <module> gpt-researcher-1 | from .agents import ( gpt-researcher-1 | File "/usr/src/app/multi_agents/agents/__init__.py", line 1, in <module> gpt-researcher-1 | from .researcher import ResearchAgent gpt-researcher-1 | File "/usr/src/app/multi_agents/agents/researcher.py", line 1, in <module> gpt-researcher-1 | from gpt_researcher import GPTResearcher gpt-researcher-1 | File "/usr/src/app/gpt_researcher/__init__.py", line 1, in <module> gpt-researcher-1 | from .master import GPTResearcher gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/__init__.py", line 1, in <module> gpt-researcher-1 | from .agent import GPTResearcher gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/agent.py", line 10, in <module> gpt-researcher-1 | from gpt_researcher.master.actions import * gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/actions.py", line 10, in <module> gpt-researcher-1 | from gpt_researcher.scraper.scraper import Scraper gpt-researcher-1 | File "/usr/src/app/gpt_researcher/scraper/__init__.py", line 3, in <module> gpt-researcher-1 | from .newspaper.newspaper import NewspaperScraper gpt-researcher-1 | File "/usr/src/app/gpt_researcher/scraper/newspaper/newspaper.py", line 1, in <module> gpt-researcher-1 | from newspaper import Article gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/__init__.py", line 10, in <module> gpt-researcher-1 | from .api import (build, build_article, fulltext, hot, languages, gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/api.py", line 14, in <module> gpt-researcher-1 | from .article import Article gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/article.py", line 15, in <module> gpt-researcher-1 | from . import network gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/network.py", line 14, in <module> gpt-researcher-1 | from .configuration import Configuration gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/configuration.py", line 15, in <module> gpt-researcher-1 | from .parsers import Parser gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/parsers.py", line 12, in <module> gpt-researcher-1 | import lxml.html.clean gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/lxml/html/clean.py", line 18, in <module> gpt-researcher-1 | raise ImportError( gpt-researcher-1 | ImportError: lxml.html.clean module is now a separate project lxml_html_clean. gpt-researcher-1 | Install lxml[html_clean] or lxml_html_clean directly. gpt-researcher-1 | Traceback (most recent call last): gpt-researcher-1 | File "/usr/local/bin/uvicorn", line 8, in <module> gpt-researcher-1 | sys.exit(main()) gpt-researcher-1 | ^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1157, in __call__ gpt-researcher-1 | return self.main(*args, **kwargs) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1078, in main gpt-researcher-1 | rv = self.invoke(ctx) gpt-researcher-1 | ^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1434, in invoke gpt-researcher-1 | return ctx.invoke(self.callback, **ctx.params) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 783, in invoke gpt-researcher-1 | return __callback(*args, **kwargs) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 410, in main gpt-researcher-1 | run( gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 577, in run gpt-researcher-1 | server.run() gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 65, in run gpt-researcher-1 | return asyncio.run(self.serve(sockets=sockets)) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/runners.py", line 190, in run gpt-researcher-1 | return runner.run(main) gpt-researcher-1 | ^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/runners.py", line 118, in run gpt-researcher-1 | return self._loop.run_until_complete(task) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete gpt-researcher-1 | return future.result() gpt-researcher-1 | ^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 69, in serve gpt-researcher-1 | await self._serve(sockets) gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 76, in _serve gpt-researcher-1 | config.load() gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/config.py", line 434, in load gpt-researcher-1 | self.loaded_app = import_from_string(self.app) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/importer.py", line 19, in import_from_string gpt-researcher-1 | module = importlib.import_module(module_str) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module gpt-researcher-1 | return _bootstrap._gcd_import(name[level:], package, level) gpt-researcher-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1204, in _gcd_import gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1176, in _find_and_load gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 690, in _load_unlocked gpt-researcher-1 | File "<frozen importlib._bootstrap_external>", line 940, in exec_module gpt-researcher-1 | File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed gpt-researcher-1 | File "/usr/src/app/main.py", line 1, in <module> gpt-researcher-1 | from backend.server import app gpt-researcher-1 | File "/usr/src/app/backend/__init__.py", line 1, in <module> gpt-researcher-1 | from multi_agents import agents gpt-researcher-1 | File "/usr/src/app/multi_agents/__init__.py", line 3, in <module> gpt-researcher-1 | from .agents import ( gpt-researcher-1 | File "/usr/src/app/multi_agents/agents/__init__.py", line 1, in <module> gpt-researcher-1 | from .researcher import ResearchAgent gpt-researcher-1 | File "/usr/src/app/multi_agents/agents/researcher.py", line 1, in <module> gpt-researcher-1 | from gpt_researcher import GPTResearcher gpt-researcher-1 | File "/usr/src/app/gpt_researcher/__init__.py", line 1, in <module> gpt-researcher-1 | from .master import GPTResearcher gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/__init__.py", line 1, in <module> gpt-researcher-1 | from .agent import GPTResearcher gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/agent.py", line 10, in <module> gpt-researcher-1 | from gpt_researcher.master.actions import * gpt-researcher-1 | File "/usr/src/app/gpt_researcher/master/actions.py", line 10, in <module> gpt-researcher-1 | from gpt_researcher.scraper.scraper import Scraper gpt-researcher-1 | File "/usr/src/app/gpt_researcher/scraper/__init__.py", line 3, in <module> gpt-researcher-1 | from .newspaper.newspaper import NewspaperScraper gpt-researcher-1 | File "/usr/src/app/gpt_researcher/scraper/newspaper/newspaper.py", line 1, in <module> gpt-researcher-1 | from newspaper import Article gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/__init__.py", line 10, in <module> gpt-researcher-1 | from .api import (build, build_article, fulltext, hot, languages, gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/api.py", line 14, in <module> gpt-researcher-1 | from .article import Article gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/article.py", line 15, in <module> gpt-researcher-1 | from . import network gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/network.py", line 14, in <module> gpt-researcher-1 | from .configuration import Configuration gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/configuration.py", line 15, in <module> gpt-researcher-1 | from .parsers import Parser gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/newspaper/parsers.py", line 12, in <module> gpt-researcher-1 | import lxml.html.clean gpt-researcher-1 | File "/usr/local/lib/python3.11/site-packages/lxml/html/clean.py", line 18, in <module> gpt-researcher-1 | raise ImportError( gpt-researcher-1 | ImportError: lxml.html.clean module is now a separate project lxml_html_clean. gpt-researcher-1 | Install lxml[html_clean] or lxml_html_clean directly.
I also encountered the same problem when trying to start the project via docker compose (current master branch). Environment: OS—— Distributor ID: Ubuntu Description: Ubuntu 20.04.6 LTS Release: 20.04 Codename: focal
Docker—— Docker version 27.1.1, build 6312585 Docker Compose version v2.29.1
Who can solve this problem?
I set lxml_html_clean
instead of lxml[html_clean]
in requirements.txt
, and added json5
and langgraph
in it, then i can worked.
raise ImportError( ImportError: lxml.html.clean module is now a separate project lxml_html_clean. Install lxml[html_clean] or lxml_html_clean directly.