Error during processing dependencies: Conflicting requirements etc

I faced dependency issues when attempting to deploy my app despite it working locally. My requirements.txt file was generated using the command “pip3 freeze > requirements.txt.” I have tried removing the version for certain dependencies e.g. removed version for “azureml-train-automl-client” but another error revolving around “azureml-automl-core” pops up instead. Different dependencies also require different python version. Locally, im using python 3.9. Will appreciate any advice or help, thank you!

GITHUB REPO:

LOG DETAILS:
Using uv pip install.
× No solution found when resolving dependencies:
╰─▶ Because the current Python version (3.11.9) does not satisfy
Python>=3.7,<3.11 and azureml-automl-core==1.55.0 depends on
Python>=3.7,<3.11, we can conclude that azureml-automl-core==1.55.0
cannot be used.
And because you require azureml-automl-core==1.55.0, we can conclude
that the requirements are unsatisfiable.

Using standard pip install.
ERROR: Ignored the following versions that require a different python version: 0.0.49 Requires-Python <3.11,>=3.7; 1.19.0 Requires-Python >=3.5,<3.9; 1.20.0 Requires-Python >=3.5,<3.9; 1.21.0 Requires-Python >=3.5,<3.9; 1.22.0 Requires-Python >=3.5,<3.9; 1.22.0.post1 Requires-Python >=3.5,<3.9; 1.23.0 Requires-Python >=3.5,<3.9; 1.24.0 Requires-Python >=3.5,<3.9; 1.25.0 Requires-Python >=3.5,<3.9; 1.25.0.post1 Requires-Python >=3.5,<3.9; 1.26.0 Requires-Python >=3.5,<3.9; 1.27.0 Requires-Python >=3.5,<3.9; 1.28.0 Requires-Python >=3.5,<3.9; 1.29.0 Requires-Python >=3.6,<3.9; 1.30.0 Requires-Python >=3.6,<3.9; 1.31.0 Requires-Python >=3.6,<3.9; 1.32.0 Requires-Python >=3.6,<3.9; 1.33.0 Requires-Python >=3.6,<3.9; 1.33.1 Requires-Python >=3.6,<3.9; 1.34.0 Requires-Python >=3.6,<3.9; 1.34.0.post1 Requires-Python >=3.6,<3.9; 1.34.1 Requires-Python >=3.6,<3.9; 1.35.0 Requires-Python >=3.6,<3.9; 1.35.1 Requires-Python >=3.6,<3.9; 1.36.0 Requires-Python >=3.6,<3.9; 1.36.1 Requires-Python >=3.6,<3.9; 1.37.0 Requires-Python >=3.6,<3.9; 1.38.0 Requires-Python >=3.6,<3.9; 1.38.1 Requires-Python >=3.6,<3.9; 1.39.0 Requires-Python >=3.6,<3.9; 1.39.1 Requires-Python >=3.6,<3.9; 1.40.0 Requires-Python >=3.6,<3.9; 1.41.0 Requires-Python >=3.6,<3.9; 1.41.1 Requires-Python >=3.6,<3.9; 1.41.1.post1 Requires-Python >=3.6,<3.9; 1.42.0 Requires-Python >=3.6,<3.9; 1.42.0.post1 Requires-Python >=3.6,<3.9; 1.43.0 Requires-Python >=3.6,<3.9; 1.43.0.post1 Requires-Python >=3.6,<3.9; 1.43.0.post2 Requires-Python >=3.6,<3.9; 1.44.0 Requires-Python >=3.6,<3.9; 1.45.0 Requires-Python >=3.6,<3.10; 1.46.0 Requires-Python >=3.6,<3.10; 1.46.0.post1 Requires-Python >=3.6,<3.10; 1.46.1 Requires-Python >=3.6,<3.10; 1.46.1.post1 Requires-Python >=3.6,<3.10; 1.47.0 Requires-Python >=3.6,<3.10; 1.47.0.post1 Requires-Python >=3.6,<3.10; 1.48.0 Requires-Python >=3.7,<3.10; 1.49.0 Requires-Python >=3.7,<3.11; 1.49.0.post1 Requires-Python >=3.7,<3.11; 1.49.1 Requires-Python >=3.7,<3.11; 1.49.1.post2 Requires-Python >=3.7,<3.11; 1.50.0 Requires-Python >=3.7,<3.11; 1.51.0 Requires-Python >=3.7,<3.11; 1.51.0.post1 Requires-Python >=3.7,<3.11; 1.52.0 Requires-Python >=3.7,<3.11; 1.52.0.post1 Requires-Python >=3.7,<3.11; 1.53.0 Requires-Python >=3.7,<3.11; 1.53.1 Requires-Python >=3.7,<3.11; 1.53.2 Requires-Python >=3.7,<3.11; 1.54.0 Requires-Python >=3.7,<3.11; 1.55.0 Requires-Python >=3.7,<3.11; 1.55.0.post1 Requires-Python >=3.7,<3.11; 1.55.0.post2 Requires-Python >=3.7,<3.11; 1.56.0 Requires-Python <3.11,>=3.8

ERROR: Could not find a version that satisfies the requirement azureml-automl-core==1.55.0 (from versions: 1.0rc83, 1.0rc85, 1.0.23, 1.0.30, 1.0.33, 1.0.39, 1.0.39.1, 1.0.41, 1.0.43, 1.0.45, 1.0.45.1, 1.0.48, 1.0.53, 1.0.55, 1.0.55.1, 1.0.57, 1.0.60, 1.0.62, 1.0.65, 1.0.65.1, 1.0.69, 1.0.69.1, 1.0.72, 1.0.72.1, 1.0.74, 1.0.76, 1.0.79, 1.0.81, 1.0.81.1, 1.0.83, 1.0.83.1, 1.0.85, 1.0.85.1, 1.0.85.2, 1.0.85.4, 1.0.85.5, 1.1.0rc0, 1.1.1rc0, 1.1.2rc0, 1.1.5, 1.1.5.1, 1.2.0, 1.3.0, 1.3.0.post1, 1.4.0, 1.4.0.post1, 1.5.0, 1.5.0.post1, 1.5.0.post2, 1.6.0, 1.7.0, 1.7.0.post1, 1.7.0.post2, 1.8.0, 1.9.0, 1.9.0.post1, 1.10.0, 1.10.0.post1, 1.11.0, 1.12.0, 1.13.0, 1.14.0, 1.15.0, 1.16.0, 1.17.0, 1.18.0, 1.18.0.post1, 1.18.0.post2)

ERROR: No matching distribution found for azureml-automl-core==1.55.0

Checking if Streamlit is installed

[00:27:08] :exclamation: installer returned a non-zero exit code
[00:27:08] :exclamation: Error during processing dependencies! Please fix the error and push an update, or try restarting the app.
[00:27:24] :octopus: Pulling code changes from Github…
[00:27:25] :package: Processing dependencies…
[00:27:25] :package: Processed dependencies!
[00:27:27] :arrows_counterclockwise: Updated app!
[00:28:42] :exclamation: Streamlit server consistently failed status checks
[00:28:42] :exclamation: Please fix the errors, push an update to the git repo, or reboot the app.

Bad practice, don’t do it…
Delete the file and start from scratch, include only those packages you actually use in your app.

1 Like

That resolves the issue! Thank you so much, I really appreciate your help, time to get rid of the bad practices I picked up.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.