Advertisement
Guest User

Error whilst compiling to .exe

a guest
Nov 22nd, 2019
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 3.00 KB | None | 0 0
  1. 230 INFO: PyInstaller: 3.5
  2. 230 INFO: Python: 3.8.0
  3. 231 INFO: Platform: Windows-10-10.0.18362-SP0
  4. 233 INFO: wrote C:\Users\avr\Desktop\mathProject.spec
  5. 235 INFO: UPX is not available.
  6. 245 INFO: Extending PYTHONPATH with paths
  7. ['C:\\Users\\avr\\Desktop', 'C:\\Users\\avr\\Desktop']
  8. 245 INFO: checking Analysis
  9. 314 INFO: checking PYZ
  10. 314 INFO: Building PYZ because PYZ-00.toc is non existent
  11. 314 INFO: Building PYZ (ZlibArchive) C:\Users\avr\Desktop\build\mathProject\PYZ-00.pyz
  12. Traceback (most recent call last):
  13.   File "c:\users\avr\appdata\local\programs\python\python38\lib\runpy.py", line 192, in _run_module_as_main
  14.     return _run_code(code, main_globals, None,
  15.   File "c:\users\avr\appdata\local\programs\python\python38\lib\runpy.py", line 85, in _run_code
  16.     exec(code, run_globals)
  17.   File "C:\Users\avr\AppData\Local\Programs\Python\Python38\Scripts\pyinstaller.exe\__main__.py", line 9, in <module>
  18.   File "c:\users\avr\appdata\local\programs\python\python38\lib\site-packages\PyInstaller\__main__.py", line 111, in run
  19.     run_build(pyi_config, spec_file, **vars(args))
  20.   File "c:\users\avr\appdata\local\programs\python\python38\lib\site-packages\PyInstaller\__main__.py", line 63, in run_build
  21.     PyInstaller.building.build_main.main(pyi_config, spec_file, **kwargs)
  22.   File "c:\users\avr\appdata\local\programs\python\python38\lib\site-packages\PyInstaller\building\build_main.py", line 844, in main
  23.     build(specfile, kw.get('distpath'), kw.get('workpath'), kw.get('clean_build'))
  24.   File "c:\users\avr\appdata\local\programs\python\python38\lib\site-packages\PyInstaller\building\build_main.py", line 791, in build
  25.     exec(code, spec_namespace)
  26.   File "C:\Users\avr\Desktop\mathProject.spec", line 18, in <module>
  27.     pyz = PYZ(a.pure, a.zipped_data,
  28.   File "c:\users\avr\appdata\local\programs\python\python38\lib\site-packages\PyInstaller\building\api.py", line 98, in __init__
  29.     self.__postinit__()
  30.   File "c:\users\avr\appdata\local\programs\python\python38\lib\site-packages\PyInstaller\building\datastruct.py", line 158, in __postinit__
  31.     self.assemble()
  32.   File "c:\users\avr\appdata\local\programs\python\python38\lib\site-packages\PyInstaller\building\api.py", line 128, in assemble
  33.     self.code_dict = {
  34.   File "c:\users\avr\appdata\local\programs\python\python38\lib\site-packages\PyInstaller\building\api.py", line 129, in <dictcomp>
  35.     key: strip_paths_in_code(code)
  36.   File "c:\users\avr\appdata\local\programs\python\python38\lib\site-packages\PyInstaller\building\utils.py", line 652, in strip_paths_in_code
  37.     consts = tuple(
  38.   File "c:\users\avr\appdata\local\programs\python\python38\lib\site-packages\PyInstaller\building\utils.py", line 653, in <genexpr>
  39.     strip_paths_in_code(const_co, new_filename)
  40.   File "c:\users\avr\appdata\local\programs\python\python38\lib\site-packages\PyInstaller\building\utils.py", line 660, in strip_paths_in_code
  41.     return code_func(co.co_argcount, co.co_kwonlyargcount, co.co_nlocals, co.co_stacksize,
  42. TypeError: an integer is required (got type bytes)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement