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

Use only installed Python on Windows #8226

Merged
merged 2 commits into from
Jul 26, 2021
Merged

Commits on Jul 19, 2021

  1. Use only installed Python on Windows

    When Python is installed on Windows separately (i.e. Windows Store,
    Python.org MSI, etc.) it set the PYTHONHOME environment variable to
    the installed path.
    
    When we call our own portable Python, it tries to use the support
    PYC files in PYTHONHOME.  If they're from a different version of
    Python, however, they won't work.  Even though we're running our
    own distributed Python.exe, we are crashing on the system-wide
    Python installation.
    
    Add -I to all python3 calls, ignore PYTHONHOME/etc. environment vars.
    
    Tested under Ubuntu 18.04 Linux w/o any ill effects (we ship pyserial
    ourselves and add it manually to the Python search path).
    
    Fixes esp8266#8096, or should as I understand it.
    earlephilhower committed Jul 19, 2021
    Configuration menu
    Copy the full SHA
    e921440 View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2021

  1. Configuration menu
    Copy the full SHA
    166d16f View commit details
    Browse the repository at this point in the history