I'm using the last python version to date (3.13.1). I can compile code with xlwt, and executing my code though the console works. But when I want to execute the file double-click style it fails to create the xls file. It also fails when I export it as an .exe
Researching this issue, it seems it might not be xlwt fault since many people had the same problem with different python-to-excel libraries. I wonder if the issue is the python version itself (or a mix of both)
Does anyone know a reliable python3 version for writing on xls/xlsx and compiling to .exe? Or a recommended python-to-excel library since xlwt was archived in 2020?
Edit: It wasn't xlwt nor python, it was the SO. I'll leave the answer here so anyone with the same problem know how to solve it.
ModuleNotFounderror because you're running it in an environment that doesn't have the xlwt` library installed. Either run it using a terminal after enabling the virtual environment, or make a batch script that activates the environment then runs your code, and you can double-click that batch script instead.tryover the entire entry point and log the error.