Python script returning ‘TypeError’ after being converted to Pyinstaller exe
I have a Python script that executes a SQL query using the pyhive and presto libraries. The script retrieves the query output and converts it into a Pandas DataFrame. Then, I perform some transformations on the DataFrame and use it to generate a PDF file.
pyinstaller creating a package more than a GB for a simple python script having import pandas, and some operations
When I run pyinstaller for such a simple script as below, the package size is worth 1.6 GB…How do we justify sharing this big file to someone ? Is it normal ?
TypeError: expected string or bytes-like object, got ‘NoneType’ when running pyinstaller with imports
I am trying to create an executable file from python but I receive the errors below. I created a clean enviorment and tried to reproduce the issue only with imports and a simple print(‘Hello World’) in the file as can be seen here: