python - PyInstaller isn't creating an .exe file -


i'm using 64-bit ubuntu 15.04, reference.

the location of .py script (the 1 .exe of) is: /home/zix/pyinstaller-python3/btg_v0_5_0.py

so open terminal, and:

zix@meh:~$ cd pyinstaller-python3 zix@meh:~/pyinstaller-python3$ python3 pyinstaller.py --onefile --console btg_v0_5_0.py 934 info: pyinstaller version 3.0dev 936 info: wrote /home/zix/pyinstaller-python3/btg_v0_5_0/btg_v0_5_0.spec 945 info: upx not available. 953 info: extending pythonpath /home/zix/pyinstaller-python3 953 info: checking analysis 954 info: building analysis because out00-analysis.toc non existent 955 info: initializing module dependency graph... 960 info: looking graph hooks ... 969 info: analyzing base_library.zip ... 20757 info: running analysis out00-analysis.toc 20850 info: analyzing btg_v0_5_0.py 21387 info: looking import hooks ... 21400 info: processing hook   hook-distutils.py 21417 info: processing hook   hook-pydoc.py 21420 info: processing hook   hook-encodings.py 21498 info: processing hook   hook-xml.py 23148 info: processing hook   hook-xml.sax.py 23164 info: looking ctypes dlls - todo 23165 info: analyzing run-time hooks ... 23233 info: looking dynamic libraries 24999 info: looking eggs - todo 25000 info: using python library /home/zix/anaconda3/bin/../lib/libpython3.4m.so.1.0 25055 info: warnings written /home/zix/pyinstaller-python3/btg_v0_5_0/build/btg_v0_5_0/warnbtg_v0_5_0.txt 25064 info: checking pyz 25064 info: building pyz because out00-pyz.toc non existent 25065 info: building pyz (zlibarchive) /home/zix/pyinstaller-python3/btg_v0_5_0/build/btg_v0_5_0/out00-pyz.pyz 26056 info: checking pkg 26057 info: building pkg because out00-pkg.toc non existent 26057 info: building pkg (carchive) out00-pkg.pkg 61273 info: bootloader /home/zix/pyinstaller-python3/pyinstaller/bootloader/linux-64bit/run 61273 info: checking exe 61274 info: building exe because out00-exe.toc non existent 61274 info: building exe out00-exe.toc 61276 info: appending archive exe /home/zix/pyinstaller-python3/btg_v0_5_0/dist/btg_v0_5_0 zix@meh:~/pyinstaller-python3$  

and looked in /home/zix/pyinstaller-python3/btg_v0_5_0/dist/, that's in folder "executable" file named "btg_v0_5_0" (no .exe extension). i'm not sure is. linux executable? if so, why can't run it? double-click it, , nothing happens. game (btg) basic text adventure runs in console/terminal. running btg_v0_5_0.py works fine. reiterate, goal working .exe file (btg_v0_5_0.exe) can run standalone on windows, , open in cmd.exe/command prompt. there i'm doing wrong, or forgot? on appreciated. in advance.

edit: following sideshowbarker's comment, went terminal , ran following command: pyinstaller-python3/btg_v0_5_0/dist/btg_v0_5_0 , following:

zix@meh:~$ pyinstaller-python3/btg_v0_5_0/dist/btg_v0_5_0 mod null - pyimod03_importerstraceback (most recent call last):   file "/home/zix/pyinstallerpython3/pyinstaller-python3/pyinstaller/loader/pyimod03_importers.py", line 29, in <module> attributeerror: 'module' object has no attribute '_meipass' traceback (most recent call last):   file "<string>", line 15, in <module> importerror: no module named 'pyimod03_importers' zix@meh:~$ 


Comments

Popular posts from this blog

dns - How To Use Custom Nameserver On Free Cloudflare? -

python - Pygame screen.blit not working -

c# - Web API response xml language -