[Python] failed to start embedded python interpreter

Discussão em 'Python' iniciado por Stack, Março 10, 2025.

  1. Stack

    Stack Membro Participativo

    I get an error failed to start embedded python interpreter
    after converting the Python project to an executable file.
    by the way, I don't add libraries from requirements.txt

    first, I get an error for metadata not found:eth-hash and eth-typing on files hook-eth-typing.py
    and hook-eth-hash.py:
    #hook-eth-hash.py:

    from PyInstaller.utils.hooks import collect_all

    datas, binaries, hiddenimports = collect_all('eth_hash')


    #hook-eth-typing.py:

    from PyInstaller.utils.hooks import collect_all

    datas, binaries, hiddenimports = collect_all('eth_typing')

    Continue reading...

Compartilhe esta Página