-
-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using auto-py-to-exe does not work with wetterdienst #843
Comments
Dear @Philly-V, it seems that this i neither a problem with wetterdienst nor with dotenv. The error occurs in Please check this out and let us know if it works or not. Best regards |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
I am trying to create an .exe with auto-py-to-exe out of my Python script which uses wetterdienst to access wind and air pressure data from DWD stations around germany. To make it portable without using a virtual environment I tried to convert the script to an .exe. Executing the .exe throws the following error:
Note that line 10 in main.py is:
It seems the error comes from wetterdienst using dotenv to access a path which is nonexistent (probably because the script was converted to an executable). Since I don't have much knowledge about the how dotenv works and ran most of my Python scripts inside the IDE I work with I am not sure if this is a wetterdienst-related problem, or rather a problem with auto-py-to exe or my limited knowledge about it, but maybe you can tell me if it is possible to convert the script to an .exe or if I rather should use a virtual environment to make it portable.
The script is working when executed inside an IDE and on another computer when all required packages are installed with pip (which is what I try to avoid).
**Desktop
Thanks in advance
Phillip
The text was updated successfully, but these errors were encountered: