#cannot deploy flask api

9 messages · Page 1 of 1 (latest)

earnest river
#

Hey! I'm trying to deploy a flask API using railway but it's failing.

My requirements.txt:

scikit-learn==1.3.0
tensorflow==2.15.0```

My runtime.txt:
```python-3.11.1```

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
i dunno what to do, thanks :))
simple sedgeBOT
#

Project ID: 5b52e03e-932b-4ff8-bbf8-b4c7041e32e9

earnest river
#

5b52e03e-932b-4ff8-bbf8-b4c7041e32e9

remote sun
earnest river
remote sun
#
error: PyObjC requires macOS to build
#

safe to say railway isn't building your code on macs

earnest river
remote sun
#

no problem!