Skip to content
New issue

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

TypeError: an integer is required (got type bytes) when compiling any script #4265

Closed
sl4vkek opened this issue Jun 8, 2019 · 32 comments
Labels

Comments

@sl4vkek
Copy link

@sl4vkek sl4vkek commented Jun 8, 2019

When i compile any script using pyinstaller i get TypeError: an integer is required (got type bytes)

i tried both with and without UPX, still the same error, i even tried installing the latest dev builds and it's still the same error.

Here's the log:

PS C:\Users\sl4v\Desktop\Projects\wikia-download-gui> py -m PyInstaller .\wikia_dl_gui.py --debug=all
104 INFO: PyInstaller: 3.5.dev0+0cbe7fba3
104 INFO: Python: 3.8.0b1
106 INFO: Platform: Windows-10-10.0.17134-SP0
113 INFO: wrote C:\Users\sl4v\Desktop\Projects\wikia-download-gui\wikia_dl_gui.spec
116 INFO: UPX is not available.
118 INFO: Extending PYTHONPATH with paths
['C:\\Users\\sl4v\\Desktop\\Projects\\wikia-download-gui',
 'C:\\Users\\sl4v\\Desktop\\Projects\\wikia-download-gui']
119 INFO: checking Analysis
267 INFO: checking PYZ
267 INFO: Building PYZ because PYZ-00.toc is non existent
268 INFO: Building PYZ (ZlibArchive) C:\Users\sl4v\Desktop\Projects\wikia-download-gui\build\wikia_dl_gui\PYZ-00.pyz
Traceback (most recent call last):
  File "C:\Users\sl4v\AppData\Local\Programs\Python\Python38\lib\runpy.py", line 192, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "C:\Users\sl4v\AppData\Local\Programs\Python\Python38\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\Users\sl4v\AppData\Local\Programs\Python\Python38\lib\site-packages\PyInstaller\__main__.py", line 118, in <module>
    run()
  File "C:\Users\sl4v\AppData\Local\Programs\Python\Python38\lib\site-packages\PyInstaller\__main__.py", line 111, in run
    run_build(pyi_config, spec_file, **vars(args))
  File "C:\Users\sl4v\AppData\Local\Programs\Python\Python38\lib\site-packages\PyInstaller\__main__.py", line 63, in run_build
    PyInstaller.building.build_main.main(pyi_config, spec_file, **kwargs)
  File "C:\Users\sl4v\AppData\Local\Programs\Python\Python38\lib\site-packages\PyInstaller\building\build_main.py", line 844, in main
    build(specfile, kw.get('distpath'), kw.get('workpath'), kw.get('clean_build'))
  File "C:\Users\sl4v\AppData\Local\Programs\Python\Python38\lib\site-packages\PyInstaller\building\build_main.py", line 791, in build
    exec(code, spec_namespace)
  File "C:\Users\sl4v\Desktop\Projects\wikia-download-gui\wikia_dl_gui.spec", line 18, in <module>
    pyz = PYZ(a.pure, a.zipped_data,
  File "C:\Users\sl4v\AppData\Local\Programs\Python\Python38\lib\site-packages\PyInstaller\building\api.py", line 98, in __init__
    self.__postinit__()
  File "C:\Users\sl4v\AppData\Local\Programs\Python\Python38\lib\site-packages\PyInstaller\building\datastruct.py", line 158, in __postinit__
    self.assemble()
  File "C:\Users\sl4v\AppData\Local\Programs\Python\Python38\lib\site-packages\PyInstaller\building\api.py", line 128, in assemble
    self.code_dict = {
  File "C:\Users\sl4v\AppData\Local\Programs\Python\Python38\lib\site-packages\PyInstaller\building\api.py", line 129, in <dictcomp>
    key: strip_paths_in_code(code)
  File "C:\Users\sl4v\AppData\Local\Programs\Python\Python38\lib\site-packages\PyInstaller\building\utils.py", line 652, in strip_paths_in_code
    consts = tuple(
  File "C:\Users\sl4v\AppData\Local\Programs\Python\Python38\lib\site-packages\PyInstaller\building\utils.py", line 653, in <genexpr>
    strip_paths_in_code(const_co, new_filename)
  File "C:\Users\sl4v\AppData\Local\Programs\Python\Python38\lib\site-packages\PyInstaller\building\utils.py", line 660, in strip_paths_in_code
    return code_func(co.co_argcount, co.co_kwonlyargcount, co.co_nlocals, co.co_stacksize,
TypeError: an integer is required (got type bytes)
@sl4vkek

This comment has been minimized.

Copy link
Author

@sl4vkek sl4vkek commented Jun 8, 2019

Note that i was using Python 3.8.

@tirkarthi

This comment has been minimized.

Copy link

@tirkarthi tirkarthi commented Jun 8, 2019

Seems like this is constructing a code object and could be due to PEP 570 implementation : python/cpython#12701

types.CodeType has a new parameter in the second position of the constructor (posonlyargcount) to support positional-only arguments defined in PEP 570. The first argument (argcount) now represents the total number of positional arguments (including positional-only arguments). A new replace() method of types.CodeType can be used to make the code future-proof.
@Hameraid

This comment has been minimized.

Copy link

@Hameraid Hameraid commented Oct 16, 2019

I have the exact same error, using python3.8.0 and pyinstaller 3.5

@gresavage

This comment has been minimized.

Copy link

@gresavage gresavage commented Oct 16, 2019

Bump

I have this same issue. Various other threads claim this was fixed but it definitely persists. See below
#4440

@msacchetin

This comment has been minimized.

Copy link

@msacchetin msacchetin commented Oct 18, 2019

Me too. Exactly same error. Python 3.8.0 and PyInstaller 3.5

@nathonfowlie

This comment has been minimized.

Copy link

@nathonfowlie nathonfowlie commented Oct 20, 2019

I'm also seeing this error. I'm using pyenv 1.2.13 to create a python 3.8.0 environment (sudo env PYTHON_CONFIGURE_OPTS="--enable-shared" pyenv install 3.8.0), and PyInstaller 3.5 on Mac OSX High Sierra.

pyinstaller create_token.py
66 INFO: PyInstaller: 3.5
66 INFO: Python: 3.8.0
73 INFO: Platform: macOS-10.13.3-x86_64-i386-64bit
74 INFO: wrote /Users/fowliena/Documents/repositories/aidna.docker.ansible-test/create_token.spec
77 INFO: UPX is not available.
78 INFO: Extending PYTHONPATH with paths
['/Users/fowliena/Documents/repositories/aidna.docker.ansible-test',
 '/Users/fowliena/Documents/repositories/aidna.docker.ansible-test']
78 INFO: checking Analysis
82 INFO: Building because hiddenimports changed
82 INFO: Initializing module dependency graph...
84 INFO: Initializing module graph hooks...
85 INFO: Analyzing base_library.zip ...
3616 INFO: running Analysis Analysis-00.toc
3625 INFO: Caching module hooks...
3628 INFO: Analyzing /Users/fowliena/Documents/repositories/aidna.docker.ansible-test/create_token.py
3780 INFO: Processing pre-safe import module hook   urllib3.packages.six.moves
5000 INFO: Loading module hooks...
5000 INFO: Loading module hook "hook-encodings.py"...
5065 INFO: Loading module hook "hook-certifi.py"...
5067 INFO: Loading module hook "hook-xml.py"...
5121 INFO: Loading module hook "hook-pydoc.py"...
5140 INFO: Looking for ctypes DLLs
5144 INFO: Analyzing run-time hooks ...
5147 INFO: Including run-time hook 'pyi_rth_multiprocessing.py'
5150 INFO: Including run-time hook 'pyi_rth_certifi.py'
5156 INFO: Looking for dynamic libraries
5259 INFO: Looking for eggs
5259 INFO: Using Python library /Users/fowliena/.pyenv/versions/3.8.0/lib/libpython3.8.dylib
5266 INFO: Warnings written to /Users/fowliena/Documents/repositories/aidna.docker.ansible-test/build/create_token/warn-create_token.txt
5307 INFO: Graph cross-reference written to /Users/fowliena/Documents/repositories/aidna.docker.ansible-test/build/create_token/xref-create_token.html
5326 INFO: checking PYZ
5326 INFO: Building PYZ because PYZ-00.toc is non existent
5326 INFO: Building PYZ (ZlibArchive) /Users/fowliena/Documents/repositories/aidna.docker.ansible-test/build/create_token/PYZ-00.pyz
Traceback (most recent call last):
  File "/Users/fowliena/.pyenv/versions/3.8.0/bin/pyinstaller", line 10, in <module>
    sys.exit(run())
  File "/Users/fowliena/.pyenv/versions/3.8.0/lib/python3.8/site-packages/PyInstaller/__main__.py", line 111, in run
    run_build(pyi_config, spec_file, **vars(args))
  File "/Users/fowliena/.pyenv/versions/3.8.0/lib/python3.8/site-packages/PyInstaller/__main__.py", line 63, in run_build
    PyInstaller.building.build_main.main(pyi_config, spec_file, **kwargs)
  File "/Users/fowliena/.pyenv/versions/3.8.0/lib/python3.8/site-packages/PyInstaller/building/build_main.py", line 844, in main
    build(specfile, kw.get('distpath'), kw.get('workpath'), kw.get('clean_build'))
  File "/Users/fowliena/.pyenv/versions/3.8.0/lib/python3.8/site-packages/PyInstaller/building/build_main.py", line 791, in build
    exec(code, spec_namespace)
  File "/Users/fowliena/Documents/repositories/aidna.docker.ansible-test/create_token.spec", line 18, in <module>
    pyz = PYZ(a.pure, a.zipped_data,
  File "/Users/fowliena/.pyenv/versions/3.8.0/lib/python3.8/site-packages/PyInstaller/building/api.py", line 98, in __init__
    self.__postinit__()
  File "/Users/fowliena/.pyenv/versions/3.8.0/lib/python3.8/site-packages/PyInstaller/building/datastruct.py", line 158, in __postinit__
    self.assemble()
  File "/Users/fowliena/.pyenv/versions/3.8.0/lib/python3.8/site-packages/PyInstaller/building/api.py", line 128, in assemble
    self.code_dict = {
  File "/Users/fowliena/.pyenv/versions/3.8.0/lib/python3.8/site-packages/PyInstaller/building/api.py", line 129, in <dictcomp>
    key: strip_paths_in_code(code)
  File "/Users/fowliena/.pyenv/versions/3.8.0/lib/python3.8/site-packages/PyInstaller/building/utils.py", line 652, in strip_paths_in_code
    consts = tuple(
  File "/Users/fowliena/.pyenv/versions/3.8.0/lib/python3.8/site-packages/PyInstaller/building/utils.py", line 653, in <genexpr>
    strip_paths_in_code(const_co, new_filename)
  File "/Users/fowliena/.pyenv/versions/3.8.0/lib/python3.8/site-packages/PyInstaller/building/utils.py", line 652, in strip_paths_in_code
    consts = tuple(
  File "/Users/fowliena/.pyenv/versions/3.8.0/lib/python3.8/site-packages/PyInstaller/building/utils.py", line 653, in <genexpr>
    strip_paths_in_code(const_co, new_filename)
  File "/Users/fowliena/.pyenv/versions/3.8.0/lib/python3.8/site-packages/PyInstaller/building/utils.py", line 660, in strip_paths_in_code
    return code_func(co.co_argcount, co.co_kwonlyargcount, co.co_nlocals, co.co_stacksize,
TypeError: an integer is required (got type bytes)

Not sure if it helps at all, but the issue also occurs when UPX is installed.

pyinstaller create_token.py
60 INFO: PyInstaller: 3.5
60 INFO: Python: 3.8.0
77 INFO: Platform: macOS-10.13.3-x86_64-i386-64bit
78 INFO: wrote /Users/fowliena/Documents/repositories/aidna.docker.ansible-test/create_token.spec
86 INFO: UPX is available.
88 INFO: Extending PYTHONPATH with paths
['/Users/fowliena/Documents/repositories/aidna.docker.ansible-test',
 '/Users/fowliena/Documents/repositories/aidna.docker.ansible-test']
88 INFO: checking Analysis
116 INFO: checking PYZ
116 INFO: Building PYZ because PYZ-00.toc is non existent
116 INFO: Building PYZ (ZlibArchive) /Users/fowliena/Documents/repositories/aidna.docker.ansible-test/build/create_token/PYZ-00.pyz
Traceback (most recent call last):
  File "/Users/fowliena/.pyenv/versions/3.8.0/bin/pyinstaller", line 10, in <module>
    sys.exit(run())
  File "/Users/fowliena/.pyenv/versions/3.8.0/lib/python3.8/site-packages/PyInstaller/__main__.py", line 111, in run
    run_build(pyi_config, spec_file, **vars(args))
  File "/Users/fowliena/.pyenv/versions/3.8.0/lib/python3.8/site-packages/PyInstaller/__main__.py", line 63, in run_build
    PyInstaller.building.build_main.main(pyi_config, spec_file, **kwargs)
  File "/Users/fowliena/.pyenv/versions/3.8.0/lib/python3.8/site-packages/PyInstaller/building/build_main.py", line 844, in main
    build(specfile, kw.get('distpath'), kw.get('workpath'), kw.get('clean_build'))
  File "/Users/fowliena/.pyenv/versions/3.8.0/lib/python3.8/site-packages/PyInstaller/building/build_main.py", line 791, in build
    exec(code, spec_namespace)
  File "/Users/fowliena/Documents/repositories/aidna.docker.ansible-test/create_token.spec", line 18, in <module>
    pyz = PYZ(a.pure, a.zipped_data,
  File "/Users/fowliena/.pyenv/versions/3.8.0/lib/python3.8/site-packages/PyInstaller/building/api.py", line 98, in __init__
    self.__postinit__()
  File "/Users/fowliena/.pyenv/versions/3.8.0/lib/python3.8/site-packages/PyInstaller/building/datastruct.py", line 158, in __postinit__
    self.assemble()
  File "/Users/fowliena/.pyenv/versions/3.8.0/lib/python3.8/site-packages/PyInstaller/building/api.py", line 128, in assemble
    self.code_dict = {
  File "/Users/fowliena/.pyenv/versions/3.8.0/lib/python3.8/site-packages/PyInstaller/building/api.py", line 129, in <dictcomp>
    key: strip_paths_in_code(code)
  File "/Users/fowliena/.pyenv/versions/3.8.0/lib/python3.8/site-packages/PyInstaller/building/utils.py", line 652, in strip_paths_in_code
    consts = tuple(
  File "/Users/fowliena/.pyenv/versions/3.8.0/lib/python3.8/site-packages/PyInstaller/building/utils.py", line 653, in <genexpr>
    strip_paths_in_code(const_co, new_filename)
  File "/Users/fowliena/.pyenv/versions/3.8.0/lib/python3.8/site-packages/PyInstaller/building/utils.py", line 660, in strip_paths_in_code
    return code_func(co.co_argcount, co.co_kwonlyargcount, co.co_nlocals, co.co_stacksize,
TypeError: an integer is required (got type bytes)
@epcit

This comment has been minimized.

Copy link

@epcit epcit commented Oct 21, 2019

请问你解决了?我也是Python3.8 +3.5报同样的错误,哪怕最简单的 print "hell oworld" 编译为exe都报错
10668 INFO: Warnings written to E:\exec\test\build\helloworld\warn-helloworld.txt
10729 INFO: Graph cross-reference written to E:\exec\test\build\helloworld\xref-helloworld.html
10754 INFO: checking PYZ
10755 INFO: Building PYZ because PYZ-00.toc is non existent
10755 INFO: Building PYZ (ZlibArchive) E:\exec\test\build\helloworld\PYZ-00.pyz
Traceback (most recent call last):
File "c:\users\administrator\appdata\local\programs\python\python38\lib\runpy.py", line 192, in run_module_as_main
return run_code(code, main_globals, None,
File "c:\users\administrator\appdata\local\programs\python\python38\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\Scripts\pyinstaller.exe_main
.py", line 7, in
File "c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\PyInstaller_main
.py", line 111, in run
run_build(pyi_config, spec_file, **vars(args))
File "c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\PyInstaller_main
.py", line 63, in run_build
PyInstaller.building.build_main.main(pyi_config, spec_file, **kwargs)
File "c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\PyInstaller\building\build_main.py", line 844, in main
build(specfile, kw.get('distpath'), kw.get('workpath'), kw.get('clean_build'))
File "c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\PyInstaller\building\build_main.py", line 791, in build
exec(code, spec_namespace)
File "E:\exec\test\helloworld.spec", line 18, in
pyz = PYZ(a.pure, a.zipped_data,
File "c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\PyInstaller\building\api.py", line 98, in init
self.postinit()
File "c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\PyInstaller\building\datastruct.py", line 158, in postinit
self.assemble()
File "c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\PyInstaller\building\api.py", line 128, in assemble
self.code_dict = {
File "c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\PyInstaller\building\api.py", line 129, in
key: strip_paths_in_code(code)
File "c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\PyInstaller\building\utils.py", line 652, in strip_paths_in_code
consts = tuple(
File "c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\PyInstaller\building\utils.py", line 653, in
strip_paths_in_code(const_co, new_filename)
File "c:\users\administrator\appdata\local\programs\python\python38\lib\site-packages\PyInstaller\building\utils.py", line 660, in strip_paths_in_code
return code_func(co.co_argcount, co.co_kwonlyargcount, co.co_nlocals, co.co_stacksize,
TypeError: an integer is required (got type bytes)

@shuax

This comment has been minimized.

Copy link

@shuax shuax commented Oct 25, 2019

I have the same problem with Python 3.8

@shuax

This comment has been minimized.

Copy link

@shuax shuax commented Oct 25, 2019

pip install https://github.com/pyinstaller/pyinstaller/archive/develop.tar.gz

Direct install the latest version can compatible with python 3.8

@tinybug

This comment has been minimized.

Copy link

@tinybug tinybug commented Oct 27, 2019

use python 3.7.5 is ok.

@Danixu

This comment has been minimized.

Copy link

@Danixu Danixu commented Oct 27, 2019

Same here, but fixed with latest development version provided by shuax.

@Lethiathan

This comment has been minimized.

Copy link

@Lethiathan Lethiathan commented Oct 31, 2019

pip install https://github.com/pyinstaller/pyinstaller/archive/develop.tar.gz

Direct install the latest version can compatible with python 3.8

Thank you!

h1nk added a commit to insurgency/aioa2squery that referenced this issue Nov 1, 2019
@sashf1999

This comment has been minimized.

Copy link

@sashf1999 sashf1999 commented Nov 1, 2019

use python 3.7.5 is ok.

Thanks)

@LucasMoeris

This comment has been minimized.

Copy link

@LucasMoeris LucasMoeris commented Nov 3, 2019

pip install https://github.com/pyinstaller/pyinstaller/archive/develop.tar.gz
Direct install the latest version can compatible with python 3.8

Thank you @shuax , it worked! I thought that the error was caused by the pickled file that would have to be somehow "linked", but actually it's enough to just put them together in the same directory. Thank you again.

@clevertension

This comment has been minimized.

Copy link

@clevertension clevertension commented Nov 4, 2019

pip install https://github.com/pyinstaller/pyinstaller/archive/develop.tar.gz

Direct install the latest version can compatible with python 3.8

Thank you @shuax , it is ok

@angelMonje

This comment has been minimized.

Copy link

@angelMonje angelMonje commented Nov 11, 2019

pip install https://github.com/pyinstaller/pyinstaller/archive/develop.tar.gz

Instalación directa, la última versión puede ser compatible con Python 3.8

Gracias !

@Reelix

This comment has been minimized.

Copy link

@Reelix Reelix commented Nov 11, 2019

Seeing as how the dev version currently fixes this error that everyone with Python 3.8 will come across, it should probably be released as soon as possible.

@ghazias

This comment has been minimized.

Copy link

@ghazias ghazias commented Nov 12, 2019

Seeing as how the dev version currently fixes this error that everyone with Python 3.8 will come across, it should probably be released as soon as possible.

Fortunately, until then, it's not too difficult to find this thread.

@CloutProject

This comment has been minimized.

Copy link

@CloutProject CloutProject commented Nov 16, 2019

pip install https://github.com/pyinstaller/pyinstaller/archive/develop.tar.gz

Direct install the latest version can compatible with python 3.8

thanks a lot man!

@htgoebel htgoebel added the invalid label Nov 16, 2019
@htgoebel

This comment has been minimized.

Copy link
Member

@htgoebel htgoebel commented Nov 16, 2019

Closing as invalid. Python 3.8 is not yet supported.

@htgoebel htgoebel closed this Nov 16, 2019
@Reelix

This comment has been minimized.

Copy link

@Reelix Reelix commented Nov 16, 2019

@ghazias I guess this thread will now be a bit harder to find with it being closed, and the question marked as invalid and not supported, even though the archived version supports it :p

@mhucka

This comment has been minimized.

Copy link

@mhucka mhucka commented Nov 17, 2019

For anyone coming here experiencing this problem even if they are not running Python 3.8, I wanted to mention that I experience this same error with Python 3.7.4 on a macOS 10.13 system. Similarly to other people above, the problem goes away if I install the dev version as suggested by shuax above.

@truekonrads

This comment has been minimized.

Copy link

@truekonrads truekonrads commented Nov 18, 2019

Closing as invalid. Python 3.8 is not yet supported.

Hello, can I perhaps suggest that this gets tagged as "3.8 defects" rather than close outright. As a maintainer/owner you can do of course whatever you want, but closing a defect for what is a likely common issue for many perhaps could be reconsidered?

Much love

@truekonrads

This comment has been minimized.

Copy link

@truekonrads truekonrads commented Nov 18, 2019

WFM with this

@muhibraza

This comment has been minimized.

Copy link

@muhibraza muhibraza commented Nov 18, 2019

pip install https://github.com/pyinstaller/pyinstaller/archive/develop.tar.gz

Direct install the latest version can compatible with python 3.8

Worked like a charm!

@H4CKY54CK

This comment has been minimized.

Copy link

@H4CKY54CK H4CKY54CK commented Nov 21, 2019

Seeing the same TypeError as everyone else after upgrading Python to 3.8 from 3.7.5. Fixed with latest dev version. Windows user, so had to modify it to:

pip install https://github.com/pyinstaller/pyinstaller/archive/develop.zip

To some, it may seem obvious to change the extension. I wouldn't have thought of it a few months ago, though.

@nekolr

This comment has been minimized.

Copy link

@nekolr nekolr commented Nov 26, 2019

Seeing the same TypeError as everyone else after upgrading Python to 3.8 from 3.7.5. Fixed with latest dev version. Windows user, so had to modify it to:

pip install https://github.com/pyinstaller/pyinstaller/archive/develop.zip

To some, it may seem obvious to change the extension. I wouldn't have thought of it a few months ago, though.

Thanks!

@wuyuansushen

This comment has been minimized.

Copy link

@wuyuansushen wuyuansushen commented Nov 29, 2019

pip install https://github.com/pyinstaller/pyinstaller/archive/develop.tar.gz

Direct install the latest version can compatible with python 3.8

Thanks very much.I hope this newest version could be uploaded to PYPI(pip) as soon as possibble!Thanks

@Lamarcke

This comment has been minimized.

Copy link

@Lamarcke Lamarcke commented Nov 30, 2019

pip install https://github.com/pyinstaller/pyinstaller/archive/develop.tar.gz

Direct install the latest version can compatible with python 3.8

Huge thanks, this helped a lot!

@CryptoGnome

This comment has been minimized.

Copy link

@CryptoGnome CryptoGnome commented Dec 3, 2019

pip install https://github.com/pyinstaller/pyinstaller/archive/develop.tar.gz

Direct install the latest version can compatible with python 3.8

Thank you!

@uriielfl

This comment has been minimized.

Copy link

@uriielfl uriielfl commented Dec 4, 2019

pip install https://github.com/pyinstaller/pyinstaller/archive/develop.tar.gz

Direct install the latest version can compatible with python 3.8

Thank you so much, bro! This was giving me too much headache since 3 months ago!

@gtrak

This comment has been minimized.

Copy link

@gtrak gtrak commented Dec 4, 2019

You can install direct from a git hash if you'd rather not float over develop:
pip install git+git://github.com/pyinstaller/pyinstaller.git@9dd34bdfbaeaa4e0459bd3051d1caf0c7d75073f

Latest as of this writing:
9dd34bd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
You can’t perform that action at this time.