My project used to work, but when showing it to a friend the other day I now get this error:
ModuleNotFoundError: No module named ‘holoviews’
It used to work just fine, but I went ahead and explicitly added holoviews to my requirements.txt file. Unfortunately I’m still getting the same error after committing my changes.
It looks like you’ve deleted your app on Community Cloud. When I forked you repo and deployed, here’s what the logs say:
INFO: pip is looking at multiple versions of <Python from Requires-Python> to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of pandas to determine which version is compatible with other requirements. This could take a while.
ERROR: Cannot install -r /app/realestate_of_mind/requirements.txt (line 2) and holoviews==1.0.0 because these package versions have conflicting dependencies.
The conflict is caused by:
The user requested holoviews==1.0.0
hvplot 0.7.3 depends on holoviews>=1.11.0
To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
WARNING: You are using pip version 22.0.3; however, version 22.2.2 is available.
You should consider upgrading via the '/home/appuser/venv/bin/python -m pip install --upgrade pip' command.
Checking if Streamlit is installed
────────────────────────────────────────────────────────────────────────────────────────
[05:10:43] ❗️ installer returned a non-zero exit code
[05:10:43] ❗️ Error during processing dependencies! Please fix the error and push an update, or try restarting the app.
[05:12:23] ❗️ Streamlit server consistently failed status checks
[05:12:23] ❗️ Please fix the errors, push an update to the git repo, or reboot the app.
The solution is to upgrade your hvplot and holoviews packages to non-obsolete, compatible versions. Replace the contents of your requirements.txt with the following:
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.