Hi everyone! I’m trying to deploy mi app on the cloud, and can’t get pass an error with “win32”, first i saw some solutions that said i needed to include it in my requirements as pypiwin32 == 223, but i got the following error:
Collecting pypiwin32==223
Downloading pypiwin32-223-py3-none-any.whl (1.7 kB)
ERROR: Could not find a version that satisfies the requirement pywin32>=223 (from pypiwin32) (from versions: none)
ERROR: No matching distribution found for pywin32>=223
Other solution was to directly remove it from the requirements.txt, but when it downloads all the requirements i get another error of module not found:
ModuleNotFoundError: ...
File "/app/sapautomation/SAPDownloadV02.py", line 8, in <module>
import win32com.client as win32
You may try again with this linkGitHub.
The code is quite long, but what I reckon to be the problem is the win32 library.
Sorry for the poorly constructed question, but as I said before any input would be much appreciated.
OLa, estou com o mesmo problema e não consigo resolver, só tenho um arquivo de requisito - requirements.txt.
vou colocar o erro e o link github se alguem puder me ajudar.
Primeiro contato com o streamlit.
ModuleNotFoundError: 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 (if you’re on Streamlit Cloud, click on ‘Manage app’ in the lower right of your app).
Traceback:
File “/home/appuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py”, line 564, in _run_script
exec(code, module.dict)
File “/app/ia-jogos-da-copa/partida.py”, line 3, in
from scipy.stats import poisson
You’ve misspelled the file as requeriments.txt instead of requirements.txt. If you rename the file to requirements.txt, it should fix the ModuleNotFoundError.
Please ensure you only have Python packages in the requirements file. conda is probably not something you want to include…
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.