Skip to content

msvcrt issue and ssl missing from python bundle on macOS  #34

Open

Description

@aimass

Hi,

Arduino IDE 1.8.19 on macOS BigSur 11.6
Installed from source per: https://arduino-esp8266.readthedocs.io/en/latest/installing.html#instructions-other-os

When compiling a simple program I get this:

Traceback (most recent call last): File "/Users/alejandroimass/Library/Arduino15/packages/esp8266/tools/python3/3.7.2-post1/lib/python3.8/subprocess.py", line 64, in <module> import msvcrt ModuleNotFoundError: No module named 'msvcrt'

I peeked ta the code and it seems to test load msvcrt to determine if this is a Win system but then it blows up when trying to load _posixsubprocess with:

ModuleNotFoundError: No module named '_posixsubprocess'

Also, if I try to install anything with the bundled Python:

cd Arduino/hardware/esp8266com/esp8266/tools python3/python3 -m pip install whatever WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available. etc..

Thanks,

--
Alex

Activity

  1. changed the title [-]msvcrt and ssl missing from python bundle on macOS [/-] [+]msvcrt issue and ssl missing from python bundle on macOS [/+] on Feb 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions