I compiled a script (running smoothly) that I made in python using Pyinstaller, but the function that converts from word to pdf is stopping the code.
The error:
File "docx2pdf\__init__.py", line 106, in convert
File "docx2pdf\__init__.py", line 29, in windows
File "tqdm\asyncio.py", line 24, in __init__
File "tqdm\std.py", line 1109, in __init__
File "tqdm\std.py", line 1361, in refresh
File "tqdm\std.py", line 1509, in display
File "tqdm\std.py", line 350, in print_status
File "tqdm\std.py", line 343, in fp_write
File "tqdm\utils.py", line 89, in __getattr__
AttributeError: 'NoneType' object has no attribute 'write'
I already tried to reinstall the packages and recompile.
I already put all the functions in a file just in case and compile again, but the error didn't change.