Skip to content

python curses module fails to load on MacOS Ventura #5129

Open
@PhracturedBlue

Description

@PhracturedBlue

Steps to reproduce:
Install VCScode
Install PlatformIO inside vscode
Open a console (doesn't matter if it is in vscode or seperately)
~/.platformio/python3/bin/python3 -m curses
Python 3.11.7 (main, Mar 26 2024, 13:16:44) [Clang 15.0.0 (clang-1500.0.40.1)] on darwin
Traceback (most recent call last):
File "", line 1, in
File ".../.platformio/python3/lib/python3.11/curses/init.py", line 13, in
from _curses import *
ImportError: dlopen(.../.platformio/python3/lib/python3.11/lib-dynload/_curses.cpython-311-darwin.so, 0x0002): Symbol not found: _is_pad
Referenced from: .../.platformio/python3/lib/python3.11/lib-dynload/_curses.cpython-311-darwin.so (built for macOS 14.3 which is newer than running OS)
Expected in: <42596ECD-91F6-3256-986D-F5697E284D8E> /usr/lib/libncurses.5.4.dylib

~/.platformio/penv/bin/pio --version
PlatformIO Core, version 6.1.18

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions