Open rdhillbb opened 8 months ago
same issue with conda, Python 3.11.7, on a up to date Mac.
How to fix ? Do I need to update to 3.11.7 ?
I was able to pip install that one... but then the next error came No module named 'langchain_community.agent_toolkits.connery'
and this one I get an error when trying to install via pip: Could not find a version that satisfies the requirement langchain_community.agent_toolkits.connery
What is the best course of action?
I was able to get past both... for the 2nd one i mentioned, had to upgrade to latest "langchain_community" pkg.
I manually installed the software to setup to run. My Environment pythong 3.10 MAC OS Sanoma 14.3 There were no errors on pip install -r requirements.txt Followed the instructions as given . cd backend pip install -r requirements.txt langchain serve --port=8100
INFO: Will watch for changes in these directories: ['/Users/randolphhill/govbotics/opengpt/newtest/opengpts/backend'] INFO: Uvicorn running on http://127.0.0.1:8100 (Press CTRL+C to quit) INFO: Started reloader process [14149] using StatReload Process SpawnProcess-1: Traceback (most recent call last): File "/usr/local/Cellar/python@3.10/3.10.13_2/Frameworks/Python.framework/Versions/3.10/lib/python3.10/multiprocessing/process.py", line 314, in _bootstrap self.run() File "/usr/local/Cellar/python@3.10/3.10.13_2/Frameworks/Python.framework/Versions/3.10/lib/python3.10/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/Users/randolphhill/govbotics/opengpt/newtest/opengpts/.venv/lib/python3.10/site-packages/uvicorn/_subprocess.py", line 76, in subprocess_started target(sockets=sockets) File "/Users/randolphhill/govbotics/opengpt/newtest/opengpts/.venv/lib/python3.10/site-packages/uvicorn/server.py", line 61, in run return asyncio.run(self.serve(sockets=sockets)) File "/usr/local/Cellar/python@3.10/3.10.13_2/Frameworks/Python.framework/Versions/3.10/lib/python3.10/asyncio/runners.py", line 44, in run return loop.run_until_complete(main) File "/usr/local/Cellar/python@3.10/3.10.13_2/Frameworks/Python.framework/Versions/3.10/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete return future.result() File "/Users/randolphhill/govbotics/opengpt/newtest/opengpts/.venv/lib/python3.10/site-packages/uvicorn/server.py", line 68, in serve config.load() File "/Users/randolphhill/govbotics/opengpt/newtest/opengpts/.venv/lib/python3.10/site-packages/uvicorn/config.py", line 467, in load self.loaded_app = import_from_string(self.app) File "/Users/randolphhill/govbotics/opengpt/newtest/opengpts/.venv/lib/python3.10/site-packages/uvicorn/importer.py", line 24, in import_from_string raise exc from None File "/Users/randolphhill/govbotics/opengpt/newtest/opengpts/.venv/lib/python3.10/site-packages/uvicorn/importer.py", line 21, in import_from_string module = importlib.import_module(module_str) File "/usr/local/Cellar/python@3.10/3.10.13_2/Frameworks/Python.framework/Versions/3.10/lib/python3.10/importlib/init.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/Users/randolphhill/govbotics/opengpt/newtest/opengpts/backend/app/server.py", line 9, in
from app.api import router as api_router
File "/Users/randolphhill/govbotics/opengpt/newtest/opengpts/backend/app/api/init.py", line 3, in
from app.api.assistants import router as assistants_router
File "/Users/randolphhill/govbotics/opengpt/newtest/opengpts/backend/app/api/assistants.py", line 7, in
import app.storage as storage
File "/Users/randolphhill/govbotics/opengpt/newtest/opengpts/backend/app/storage.py", line 9, in
from app.agent import AgentType, get_agent_executor
File "/Users/randolphhill/govbotics/opengpt/newtest/opengpts/backend/app/agent.py", line 16, in
from app.llms import (
File "/Users/randolphhill/govbotics/opengpt/newtest/opengpts/backend/app/llms.py", line 6, in
from langchain_google_vertexai import ChatVertexAI
ModuleNotFoundError: No module named 'langchain_google_vertexai'