Skip to content

MacOS Monterey 12.3 deletes Python2 hence nodeenv fails #301

Open
@slimandslam

Description

@slimandslam

Just as the subject line says:

$ python
-bash: python: command not found
$ nodeenv
env: python: No such file or directory
$

Of course, python3 exists. But.....

$ sudo ln -s /usr/bin/python3 /usr/bin/python
Password:
ln: /usr/bin/python: Operation not permitted
$

I guess you have to disable SIP to make this symlink: https://developer.apple.com/documentation/security/disabling_and_enabling_system_integrity_protection

I guess the question is: does nodeenv work properly with python 3 ?

Clarification: MacOS 12.3 deletes Python2 and /usr/bin/python (which breaks anything with #!/usr/bin/python in it)

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