a year ago
I'm trying to deploy my first app, but it looks like packages that are even a few weeks (such as llama-index-llms-mistralai version 0.1.6) are not available (it can only find until version 0.1.5 for instance).
Am I supposed to update pip somehow as part of the deployment process?
I'm coming from DigitalOcean where this worked out of the box, but the storage in the App Service was not enough. Thanks in advance.
ⓘ Deployment information is only viewable by Project members and Railway admins.
11 Replies
a year ago
Can you attach your most recent build logs?
a year ago
Sorry the last bit didn't get copied, I'll add it now:
a year ago
Use the bookmarklet please, and then attach your resulting .log file to a comment here.
a year ago
I'm trying to install llama-index-llms-mistralai version 0.1.6, the official version is 0.1.10 (https://pypi.org/project/llama-index-llms-mistralai/)
I don't know what you mean by using a "bookmarklet". I will attach the log file.
a year ago
I linked the bookmarklet above, use it to download a file of your logs, then attach that log to a comment here.
a year ago
Doesnt work in Vivaldi, the link is not draggable. The error message is pretty straightforward, there is absolutely no sensitive information here:
7.027 ERROR: Could not find a version that satisfies the requirement llama-index-llms-mistralai==0.1.6 (from versions: 0.0.1, 0.1.0, 0.1.1, 0.1.2, 0.1.3, 0.1.4)
7.027 ERROR: No matching distribution found for llama-index-llms-mistralai==0.1.6
7.034
7.034 [notice] A new release of pip is available: 23.0.1 -> 24.0
7.034 [notice] To update, run: pip install --upgrade pip
Dockerfile:20
18 | ENV NIXPACKSPATH /opt/venv/bin:$NIXPACKSPATH
19 | COPY . /app/.
20 | >>> RUN --mount=type=cache,id=s/e2069b48-52e0-4b3f-b79c-4d6fb1f57ab4-/root/cache/pip,target=/root/.cache/pip python -m venv --copies /opt/venv && . /opt/venv/bin/activate && pip install -r requirements.txt
21 |
22 | # build phase
ERROR: failed to solve: process "/bin/bash -ol pipefail -c python -m venv --copies /opt/venv && . /opt/venv/bin/activate && pip install -r requirements.txt" did not complete successfully: exit code: 1
Error: Docker build failed
a year ago
If a simple Flask deployment doesn't work, and I have to install crap on my browser to ask the simplest question "do i need to run pip install or am I restricted to outdated packages" , then I think this service is not for our company. Thanks anyway
a year ago
This would not be a platform issue, and I would need the full build logs to advise on a solution, otherwise I'm just left guessing as the initial question that was asked wasn't really applicable.