Error on deploying my DRF API project
zadolf
TRIALOP

2 years ago

trying to deploy my django rest framework api on railway and i get this log errors: #10 24.86 Getting requirements to build wheel: finished with status 'done'

10 24.86 Preparing metadata (pyproject.toml): started

10 25.08 Preparing metadata (pyproject.toml): finished with status 'done'

10 25.11 Collecting PyJWT==2.9.0 (from -r requirements.txt (line 43))

10 25.12 Downloading PyJWT-2.9.0-py3-none-any.whl.metadata (3.0 kB)

10 25.17 Collecting pyparsing==3.1.4 (from -r requirements.txt (line 44))

10 25.18 Downloading pyparsing-3.1.4-py3-none-any.whl.metadata (5.1 kB)

10 25.21 Collecting Pyrebase==3.0.27 (from -r requirements.txt (line 45))

10 25.22 Downloading Pyrebase-3.0.27-py3-none-any.whl.metadata (681 bytes)

10 25.24 Collecting python-dateutil==2.9.0.post0 (from -r requirements.txt (line 46))

10 25.25 Downloading python_dateutil-2.9.0.post0-py2.py3-none-any.whl.metadata (8.4 kB)

10 25.29 Collecting python-jwt==2.0.1 (from -r requirements.txt (line 47))

10 25.30 Downloading python_jwt-2.0.1-py2.py3-none-any.whl.metadata (7.5 kB)

10 25.34 Collecting requests==2.32.3 (from -r requirements.txt (line 48))

10 25.35 Downloading requests-2.32.3-py3-none-any.whl.metadata (4.6 kB)

10 25.37 Collecting requests-toolbelt==0.7.0 (from -r requirements.txt (line 49))

10 25.38 Downloading requests_toolbelt-0.7.0-py2.py3-none-any.whl.metadata (11 kB)

10 25.40 Collecting rsa==4.9 (from -r requirements.txt (line 50))

10 25.41 Downloading rsa-4.9-py3-none-any.whl.metadata (4.2 kB)

10 25.43 Collecting six==1.16.0 (from -r requirements.txt (line 51))

10 25.44 Downloading six-1.16.0-py2.py3-none-any.whl.metadata (1.8 kB)

10 25.46 Collecting sqlparse==0.5.1 (from -r requirements.txt (line 52))

10 25.47 Downloading sqlparse-0.5.1-py3-none-any.whl.metadata (3.9 kB)

10 25.50 Collecting typing_extensions==4.12.2 (from -r requirements.txt (line 53))

10 25.51 Downloading typing_extensions-4.12.2-py3-none-any.whl.metadata (3.0 kB)

10 25.53 Collecting uritemplate==4.1.1 (from -r requirements.txt (line 54))

10 25.54 Downloading uritemplate-4.1.1-py2.py3-none-any.whl.metadata (2.9 kB)

10 25.59 Collecting urllib3==2.2.2 (from -r requirements.txt (line 55))

10 25.60 Downloading urllib3-2.2.2-py3-none-any.whl.metadata (6.4 kB)

10 26.54 INFO: pip is looking at multiple versions of pyrebase to determine which version is compatible with other requirements. This could take a while.

10 26.68 ERROR: Cannot install -r requirements.txt (line 18), -r requirements.txt (line 2), -r requirements.txt (line 24), -r requirements.txt (line 28), -r requirements.txt (line 45) and requests==2.32.3 because these package versions have conflicting dependencies.

10 26.68

10 26.68 The conflict is caused by:

10 26.68 The user requested requests==2.32.3

10 26.68 cachecontrol 0.14.0 depends on requests>=2.16.0

10 26.68 google-api-core 2.19.2 depends on requests<3.0.0.dev0 and >=2.18.0

10 26.68 google-cloud-storage 2.18.2 depends on requests<3.0.0dev and >=2.18.0

10 26.68 googlemaps 4.10.0 depends on requests<3.0 and >=2.20.0

10 26.68 pyrebase 3.0.27 depends on requests==2.11.1

10 26.68

View Deploy details

> ⓘ Deployment information is only viewable by project members and Railway employees.

0 Replies

Loading...