We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pip3 install pyinstaller cd ~/magic-wormhole/pyi /home/user/.local/bin/pyinstaller --clean --distpath=dist wormhole.exe.spec
32 INFO: PyInstaller: 3.6 32 INFO: Python: 3.7.3 33 INFO: Platform: Linux-4.19.125-1.pvops.qubes.x86_64-x86_64-with-debian-10.4 34 INFO: UPX is not available. 35 INFO: Removing temporary files and cleaning cache in /home/user/.cache/pyinstaller 35 INFO: Extending PYTHONPATH with paths ['/home/user/magic-wormhole/src', '/home/user/magic-wormhole'] 36 INFO: checking Analysis 36 INFO: Building Analysis because Analysis-00.toc is non existent 36 INFO: Initializing module dependency graph... 37 INFO: Caching module graph hooks... 40 INFO: Analyzing base_library.zip ... 2364 INFO: Caching module dependency graph... 2425 INFO: running Analysis Analysis-00.toc 2453 INFO: Analyzing /home/user/magic-wormhole/src/wormhole/__main__.py 2455 INFO: Processing module hooks... 2455 INFO: Loading module hook "hook-pydoc.py"... 2456 INFO: Loading module hook "hook-encodings.py"... 2499 INFO: Loading module hook "hook-xml.py"... 2702 INFO: Looking for ctypes DLLs 2702 INFO: Analyzing run-time hooks ... 2707 INFO: Looking for dynamic libraries 2885 INFO: Looking for eggs 2885 INFO: Python library not in binary dependencies. Doing additional searching... 2919 INFO: Using Python library /usr/lib/x86_64-linux-gnu/libpython3.7m.so.1.0 2921 INFO: Warnings written to /home/user/magic-wormhole/pyi/build/wormhole.exe/warn-wormhole.exe.txt 2936 INFO: Graph cross-reference written to /home/user/magic-wormhole/pyi/build/wormhole.exe/xref-wormhole.exe.html 2939 INFO: checking PYZ 2939 INFO: Building PYZ because PYZ-00.toc is non existent 2939 INFO: Building PYZ (ZlibArchive) /home/user/magic-wormhole/pyi/build/wormhole.exe/PYZ-00.pyz 3177 INFO: Building PYZ (ZlibArchive) /home/user/magic-wormhole/pyi/build/wormhole.exe/PYZ-00.pyz completed successfully. 3179 INFO: checking PKG 3179 INFO: Building PKG because PKG-00.toc is non existent 3179 INFO: Building PKG (CArchive) PKG-00.pkg 5306 INFO: Building PKG (CArchive) PKG-00.pkg completed successfully. 5307 INFO: Bootloader /home/user/.local/lib/python3.7/site-packages/PyInstaller/bootloader/Linux-64bit/run 5307 INFO: checking EXE 5308 INFO: Building EXE because EXE-00.toc is non existent 5308 INFO: Building EXE from EXE-00.toc 5308 INFO: Appending archive to ELF section in EXE dist/wormhole.exe 5361 INFO: Building EXE from EXE-00.toc completed successfully. user@disp5326:~/magic-wormhole/pyi$ ls build build-exe dist wormhole.exe.spec user@disp5326:~/magic-wormhole/pyi$ cd dist/ user@disp5326:~/magic-wormhole/pyi/dist$ ls wormhole.exe user@disp5326:~/magic-wormhole/pyi/dist$ ./wormhole.exe Traceback (most recent call last): File "wormhole/__main__.py", line 3, in <module> ModuleNotFoundError: No module named '__main__.cli'; '__main__' is not a package [9355] Failed to execute script __main__
#298
//cc @ThomasWaldmann
The text was updated successfully, but these errors were encountered:
Hmm, does it work when removing /__main__.py and just give the package dir?
/__main__.py
Sorry, something went wrong.
user@disp5221:~/magic-wormhole-0.11.2/pyi$ /home/user/.local/bin/pyinstaller --clean --distpath=dist wormhole.exe.spec 30 INFO: PyInstaller: 3.6 30 INFO: Python: 3.7.3 32 INFO: Platform: Linux-4.19.125-1.pvops.qubes.x86_64-x86_64-with-debian-10.4 33 INFO: UPX is not available. 33 INFO: Removing temporary files and cleaning cache in /home/user/.cache/pyinstaller 34 INFO: Extending PYTHONPATH with paths ['/home/user/magic-wormhole-0.11.2/src', '/home/user/magic-wormhole-0.11.2'] 34 INFO: checking Analysis 34 INFO: Building Analysis because Analysis-00.toc is non existent 34 INFO: Initializing module dependency graph... 36 INFO: Caching module graph hooks... 39 INFO: Analyzing base_library.zip ... 2479 INFO: Caching module dependency graph... 2543 INFO: running Analysis Analysis-00.toc 2571 INFO: Analyzing /home/user/magic-wormhole-0.11.2/src/wormhole Traceback (most recent call last): File "/home/user/.local/bin/pyinstaller", line 10, in <module> sys.exit(run()) File "/home/user/.local/lib/python3.7/site-packages/PyInstaller/__main__.py", line 114, in run run_build(pyi_config, spec_file, **vars(args)) File "/home/user/.local/lib/python3.7/site-packages/PyInstaller/__main__.py", line 65, in run_build PyInstaller.building.build_main.main(pyi_config, spec_file, **kwargs) File "/home/user/.local/lib/python3.7/site-packages/PyInstaller/building/build_main.py", line 734, in main build(specfile, kw.get('distpath'), kw.get('workpath'), kw.get('clean_build')) File "/home/user/.local/lib/python3.7/site-packages/PyInstaller/building/build_main.py", line 681, in build exec(code, spec_namespace) File "wormhole.exe.spec", line 19, in <module> cipher=None) File "/home/user/.local/lib/python3.7/site-packages/PyInstaller/building/build_main.py", line 244, in __init__ self.__postinit__() File "/home/user/.local/lib/python3.7/site-packages/PyInstaller/building/datastruct.py", line 160, in __postinit__ self.assemble() File "/home/user/.local/lib/python3.7/site-packages/PyInstaller/building/build_main.py", line 416, in assemble priority_scripts.append(self.graph.run_script(script)) File "/home/user/.local/lib/python3.7/site-packages/PyInstaller/depend/analysis.py", line 249, in run_script self._top_script_node = super(PyiModuleGraph, self).run_script(pathname) File "/home/user/.local/lib/python3.7/site-packages/PyInstaller/lib/modulegraph/modulegraph.py", line 1391, in run_script with open(pathname, 'rb') as fp: IsADirectoryError: [Errno 21] Is a directory: '/home/user/magic-wormhole-0.11.2/src/wormhole' user@disp5221:~/magic-wormhole-0.11.2/pyi$
No branches or pull requests
#298
//cc @ThomasWaldmann
The text was updated successfully, but these errors were encountered: