Skip to content

Using Python3 installed via pyenv with SublimeRepl #594

@dahanbn

Description

@dahanbn

Hi,

on my Mac I use Python 3.9.5 and it is installed via pyenv. In terminals and via PATH the python command uses and starts Python 3.9.5. The older Python 2.7 is shadowed and not directly accessible. Nevertheless the SublimeRepl Python still uses Python 2.7. As it seems somehow SublimeRepl launches an hardcoded path to python and did not use the entry where python points to.

➜ ~ which python
/Users/dh/.pyenv/shims/python
➜ ~ python --version
Python 3.9.5

Sublime Text uses Python 3.9.5 for building (running) the python files for both build targets (python & python3).

How can I use the system wide installed Python 3.9.5 for SublimeRepl?

version: ST4, Build4107, SublimeRepl from packagecontrol.io.

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