Skip to content

Specify python3 without a giving a path #132

Closed
@CADBOT

Description

@CADBOT

In many systems - such as homebrew and Ubuntu - the python binary is called python3 instead of python. Currently, the only way to make python-shell use python3 on those systems is to specify the path. This is not ideal because python3 won't have the same path for all users. Can we add an additional option to specify python3? I'm imagining something like

const options = {
  python3: true // defaults to false
};

If approved, I can craft a PR for this myself.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions