generative_ai_with_langchain
generative_ai_with_langchain copied to clipboard
Conda and docker setups both fail
Docker build gives this error:
docker build -t langchain_ai .
...
Collecting lanarky==0.7.16 (from -r requirements.txt (line 27))
Downloading lanarky-0.7.16-py3-none-any.whl.metadata (6.7 kB)
ERROR: Ignored the following versions that require a different python version: 0.12.0 Requires-Python >=3.9.0,<3.12; 0.12.2 Requires-Python >=3.9.0,<3.12; 0.12.3 Requires-Python >=3.9.0,<3.12; 0.12.4 Requires-Python >=3.9.0,<3.12; 0.12.5 Requires-Python >=3.9.0,<3.12; 0.12.6 Requires-Python >=3.9.0,<3.12; 0.13.0 Requires-Python <3.12,>=3.9.0; 0.13.1 Requires-Python <3.12,>=3.9.0; 0.13.2 Requires-Python <3.12,>=3.9.0; 0.13.3 Requires-Python <3.12,>=3.9.0; 0.13.4 Requires-Python <3.12,>=3.9.0; 0.55.2 Requires-Python <3.5; 0.8.0 Requires-Python >=3.9,<3.12; 0.8.1 Requires-Python >=3.9,<3.12; 0.8.2 Requires-Python >=3.9,<3.12; 0.8.3 Requires-Python >=3.9,<3.12; 0.8.4 Requires-Python >=3.9,<3.12; 0.8.5 Requires-Python >=3.9,<3.12; 0.8.6 Requires-Python <3.12,>=3.9
ERROR: Could not find a version that satisfies the requirement ray>=2.6.3 (from versions: none)
ERROR: No matching distribution found for ray>=2.6.3
The command '/bin/sh -c pip install --prefer-binary --no-cache-dir -r requirements.txt' returned a non-zero code: 1
Conda setup hangs when installing pip dependencies:
(base) $ conda env create --file langchain_ai.yaml
Channels:
- defaults
Platform: linux-64
Collecting package metadata (repodata.json): done
Solving environment: done
Downloading and Extracting Packages:
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
Installing pip dependencies: (wait cursor spins)