Hello I am trying to deploy an app and keep running into an error with installing certain requirements. Here is the what the terminal is giving me:
ModuleNotFoundError: No module named ‘distutils’
[notice] A new release of pip is available: 24.0 → 24.3.1
[notice] To update, run: pip install --upgrade pip
Checking if Streamlit is installed
[16:46:44] installer returned a non-zero exit code
[16:46:44] Error during processing dependencies! Please fix the error and push an update, or try restarting the app.
[16:48:22] Streamlit server consistently failed status checks
[16:48:22] Please fix the errors, push an update to the git repo, or reboot the app.
I changed the dumpy to numpy<2. Looks like there is something wrong with boto
And because aiobotocore==2.17.0 depends on botocore>=1.35.74,<1.35.94
and botocore>=1.36.0,<1.36.2, we can conclude that
aiobotocore>=2.5.4,<2.19.0 depends on one of:
botocore>=1.31.16,<1.31.65
botocore>=1.32.4,<1.34.35
botocore>=1.34.41,<1.35.8
botocore>=1.35.16,<1.35.37
botocore>=1.35.74,<1.35.94
botocore>=1.36.0,<1.36.2
And because we know from (1) that all of:
aiobotocore<2.5.4
aiobotocore==2.19.0
aiobotocore>=3.0.0
, all of:
botocore<1.36.0
botocore>=1.36.4
, s3fs>=2023.10.0,<2024.0.0 are incompatible, we can conclude that
s3fs>=2023.10.0,<2024.0.0 depends on one of:
botocore>=1.31.16,<1.31.65
botocore>=1.32.4,<1.34.35
botocore>=1.34.41,<1.35.8
botocore>=1.35.16,<1.35.37
botocore>=1.35.74,<1.35.94
botocore>=1.36.0,<1.36.4
And because you require botocore==1.29.13 and s3fs>=2023.10.0,<2024.0.0,
we can conclude that your requirements are unsatisfiable.
When we have dependency issues while deploying sometimes is better not to specify specific version, like numpy==1.23.3 instead you can choose to say numpy>=1.23.3, similarly for boto3 you can specify the specific version or if you are not sure just mention boto3 and while installing it will pick up the appropriate version. If you specify specific version for packages that have dependency you’ll get errors like you mentioned above. Hope this helps.
Thanks for stopping by! We use cookies to help us understand how you interact with our website.
By clicking “Accept all”, you consent to our use of cookies. For more information, please see our privacy policy.
Cookie settings
Strictly necessary cookies
These cookies are necessary for the website to function and cannot be switched off. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms.
Performance cookies
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us understand how visitors move around the site and which pages are most frequently visited.
Functional cookies
These cookies are used to record your choices and settings, maintain your preferences over time and recognize you when you return to our website. These cookies help us to personalize our content for you and remember your preferences.
Targeting cookies
These cookies may be deployed to our site by our advertising partners to build a profile of your interest and provide you with content that is relevant to you, including showing you relevant ads on other websites.