You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Wrap streamlit by pyinstaller | No module named 'wx by Matplotlib #1
27504 INFO: Matplotlib backend "WX": ignored
No module named 'wx'
27723 INFO: Matplotlib backend "WXAgg": ignored
No module named 'wx'
27941 INFO: Matplotlib backend "WXCairo": ignored
No module named 'wx'
149546 INFO: Looking for eggs
149546 INFO: Python library not in binary dependencies. Doing additional searching...
149629 INFO: Using Python library /usr/lib/x86_64-linux-gnu/libpython3.8.so.1.0
149691 INFO: Warnings written to /home/wrap_streamlit/build/run_streamlit/warn-run_streamlit.txt
150058 INFO: Graph cross-reference written to /home/wrap_streamlit/build/run_streamlit/xref-run_streamlit.html
150464 INFO: checking PYZ
150464 INFO: Building PYZ because PYZ-00.toc is non existent
150464 INFO: Building PYZ (ZlibArchive) /home/wrap_streamlit/build/run_streamlit/PYZ-00.pyz
153862 INFO: Building PYZ (ZlibArchive) /home/wrap_streamlit/build/run_streamlit/PYZ-00.pyz completed successfully.
153968 INFO: checking PKG
153968 INFO: Building PKG because PKG-00.toc is non existent
153968 INFO: Building PKG (CArchive) run_streamlit.pkg
1099176 INFO: Building PKG (CArchive) run_streamlit.pkg completed successfully.
1099469 INFO: Bootloader /usr/local/lib/python3.8/dist-packages/PyInstaller/bootloader/Linux-64bit-intel/run
1099469 INFO: checking EXE
1099469 INFO: Building EXE because EXE-00.toc is non existent
1099469 INFO: Building EXE from EXE-00.toc
1099480 INFO: Copying bootloader EXE to /home/wrap_streamlit/dist/run_streamlit
1099482 INFO: Appending PKG archive to ELF section in EXE
Traceback (most recent call last):
File "/usr/local/bin/pyinstaller", line 8, in <module>
sys.exit(run())
File "/usr/local/lib/python3.8/dist-packages/PyInstaller/__main__.py", line 124, in run
run_build(pyi_config, spec_file, **vars(args))
File "/usr/local/lib/python3.8/dist-packages/PyInstaller/__main__.py", line 58, in run_build
PyInstaller.building.build_main.main(pyi_config, spec_file, **kwargs)
File "/usr/local/lib/python3.8/dist-packages/PyInstaller/building/build_main.py", line 782, in main
build(specfile, kw.get('distpath'), kw.get('workpath'), kw.get('clean_build'))
File "/usr/local/lib/python3.8/dist-packages/PyInstaller/building/build_main.py", line 714, in build
exec(code, spec_namespace)
File "/home/wrap_streamlit/run_streamlit.spec", line 23, in <module>
exe = EXE(pyz,
File "/usr/local/lib/python3.8/dist-packages/PyInstaller/building/api.py", line 507, in __init__
self.__postinit__()
File "/usr/local/lib/python3.8/dist-packages/PyInstaller/building/datastruct.py", line 155, in __postinit__
self.assemble()
File "/usr/local/lib/python3.8/dist-packages/PyInstaller/building/api.py", line 685, in assemble
retcode, stdout, stderr = exec_command_all(
File "/usr/local/lib/python3.8/dist-packages/PyInstaller/compat.py", line 475, in exec_command_all
out, err = proc.communicate(timeout=60)
File "/usr/lib/python3.8/subprocess.py", line 1024, in communicate
stdout, stderr = self._communicate(input, endtime, timeout)
File "/usr/lib/python3.8/subprocess.py", line 1867, in _communicate
self._check_timeout(endtime, orig_timeout, stdout, stderr)
File "/usr/lib/python3.8/subprocess.py", line 1068, in _check_timeout
raise TimeoutExpired(
subprocess.TimeoutExpired: Command '('objcopy', '--add-section', 'pydata=/home/wrap_streamlit/build/run_streamlit/run_streamlit.pkg', '/home/wrap_streamlit/dist/run_streamlit')' timed out after 60 seconds
If pyinstaller includes the streamlit, then it will encounter this issue.
Activity
chiehpower commentedon Dec 20, 2021
Tried:
chiehpower commentedon Dec 20, 2021
If
pyinstallerincludes the streamlit, then it will encounter this issue.chiehpower commentedon Dec 20, 2021
Try with nuitka
https://github.com/Nuitka/Nuitka#install-nuitka
chiehpower commentedon Dec 21, 2021