My Code : https://www.paste.org/103827 I have written a small piece of code which works scraps HTML table containing COVID19 data and transforms it into pandas dataframe.
Then it saves that dataframe as csv.
I want to make single executable file such that anyone can download that file and if they run it COVID19 data will be saved as csv on that location.They should not need to install any of the dependencies(not even Python).
Just wanted to ask if this is possible, if yes then please tell me how. I am a complete beginner. Using Linux(Manjaro KDE)
EDIT
I tried pyinstaller and was able create a single executable file of size 362 MB but this error occurred
Traceback (most recent call last): File
"PyInstaller/loader/rthooks/pyi_rth_pkgres.py", line 13, in <module>
File "/home/sharma/.local/lib/python3.7/site-
packages/PyInstaller/loader/pyimod03_importers.py", line 623, in
exec_module exec(bytecode, module.__dict__) File "site-
packages/pkg_resources/__init__.py", line 86, in <module>
ModuleNotFoundError: No module named 'pkg_resources.py2_warn' [74226]
Failed to execute script pyi_rth_pkgres
I am getting this error when I run this 362 MB file.