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

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

Open
aimass opened this issue Feb 22, 2022 · 0 comments
Open

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

aimass opened this issue Feb 22, 2022 · 0 comments

Comments

@aimass
Copy link

aimass commented Feb 22, 2022

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

@aimass aimass changed the title msvcrt and ssl missing from python bundle on macOS msvcrt issue and ssl missing from python bundle on macOS Feb 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant