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.