Guest User

Untitled

a guest
Jul 22nd, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.38 KB | None | 0 0
  1. PS C:UsersS3401DesktopNew folder> pyi-makespec filename.py
  2. wrote C:UsersS3401DesktopNew folderfilename.spec
  3. now run pyinstaller.py to build the executable
  4. PS C:UsersS3401DesktopNew folder> pyinstaller .filename.spec
  5. 46 INFO: PyInstaller: 3.3.1
  6. 46 INFO: Python: 3.6.6
  7. 46 INFO: Platform: Windows-10-10.0.17134-SP0
  8. 47 INFO: UPX is not available.
  9. Traceback (most recent call last):
  10. File "C:Program FilesPython36Scriptspyinstaller-script.py", line 11, in <module>
  11. load_entry_point('PyInstaller==3.3.1', 'console_scripts', 'pyinstaller')()
  12. File "c:program filespython36libsite-packagesPyInstaller__main__.py", line 94, in run
  13. run_build(pyi_config, spec_file, **vars(args))
  14. File "c:program filespython36libsite-packagesPyInstaller__main__.py", line 46, in run_build
  15. PyInstaller.building.build_main.main(pyi_config, spec_file, **kwargs)
  16. File "c:program filespython36libsite-packagesPyInstallerbuildingbuild_main.py", line 791, in main
  17. build(specfile, kw.get('distpath'), kw.get('workpath'), kw.get('clean_build'))
  18. File "c:program filespython36libsite-packagesPyInstallerbuildingbuild_main.py", line 737, in build
  19. exec(text, spec_namespace)
  20. File "<string>", line 16, in <module>
  21. File "c:program filespython36libsite-packagesPyInstallerbuildingbuild_main.py", line 162, in __init__
  22. raise ValueError("script '%s' not found" % script)
  23. ValueError: script 'filename.py' not found
Add Comment
Please, Sign In to add comment