Ghost Dragon Posted June 5, 2019 Posted June 5, 2019 I have no clue what I'm missing. I did this pyinstaller --onedir --onefile --noupx --name=Lazagne "C:/Users/mason/Downloads/Laagne/Lazagne/Window s/LaZagne.py" powershell gave this 100 INFO: PyInstaller: 3.4 100 INFO: Python: 3.7.3 101 INFO: Platform: Windows-10-10.0.17134-SP0 102 INFO: wrote C:\Users\mason\Lazagne.spec 104 INFO: UPX is not available. 106 INFO: Extending PYTHONPATH with paths ['C:\\Users\\mason\\Downloads\\Laagne\\Lazagne\\Windows', 'C:\\Users\\mason'] 106 INFO: checking Analysis 163 INFO: checking PYZ 185 INFO: checking PKG 188 INFO: Bootloader c:\users\mason\appdata\local\programs\python\python37-32\lib\site-packages\PyInstaller\bootloader\Windows-32bit\run.exe 188 INFO: checking EXE 189 INFO: Rebuilding EXE-00.toc because Lazagne.exe missing 189 INFO: Building EXE from EXE-00.toc 190 INFO: Appending archive to EXE C:\Users\mason\dist\Lazagne.exe 210 INFO: Building EXE from EXE-00.toc completed successfully. I moved the file to my destop cmd gave this Traceback (most recent call last): File "LaZagne.py", line 19, in <module> File "c:\users\mason\appdata\local\programs\python\python37-32\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module exec(bytecode, module.__dict__) File "lazagne\config\manage_modules.py", line 4, in <module> File "c:\users\mason\appdata\local\programs\python\python37-32\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module exec(bytecode, module.__dict__) File "lazagne\softwares\browsers\mozilla.py", line 15, in <module> ModuleNotFoundError: No module named 'pyasn1' [11520] Failed to execute script LaZagne I went to powershell and did pip install pyasn1 Everything went ok, so I tried it again. Still got the same thing. So I restarted my computer, tried again and still nothing. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.