ERROR: Could not find a version that satisfies the requirement pywin32==305 (from versions: none)
ERROR: No matching distribution found for pywin32==305
How do I solve this issue please?
ERROR: Could not find a version that satisfies the requirement pywin32==305 (from versions: none)
ERROR: No matching distribution found for pywin32==305
How do I solve this issue please?
@theApprentice , what’s your Python version?
Try including pypiwin32 instead in your requirements.txt file
You cannot install any windows specific pypi packages on streamlit cloud, since it is a linux debian based environment. Cleanup your requirements.txt
file, it is probably crammed with unnecessary packages.
Thank you very much @Franky1. I am deploying a chatbot based on nlp.
What suggestions do you have for cleaning my requirements file?
I am also getting this error for a tensorflow library:
tensorflow-intel==2.12.0rc0
error: ERROR: Could not find a version that satisfies the requirement tensorflow-intel==2.12.0rc0 (from -r requirements.txt (line 97)) (from versions: 0.0.1)
Don’t use pip freeze
or similar to generate your requirements.txt
file!
Write the file manually and only include those packages that you actually import in your application.
Usually all other dependencies are resolved by pip
itself.
This is another package that is windows-only and cannot be installed on streamlit cloud.
The right version is probably:
tensorflow-cpu==2.12.0rc0
Read the documentation of the packages you want to use, there is always an “installation” chapter, which probably gives important hints!
I am built a chatbot, and it deployed but when I sent in a request, it keeps throwing this error:
LookupError: This app has encountered an error. The original error message is redacted to prevent data leaks. Full error details have been recorded in the logs.
The error logs keep referring me to the nltk library and probelm getting some dependencies.
What step can I take?
Read the documentation, it tells you everything you need to know about the dependencies.
Without seeing the actual code, this remains a poking around in the dark.
Thank you very much. I have been able to rectify the issue. My code is working properly now.
I had to reinstall the library and import it properly in my code.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
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.
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.
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.
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.