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

Allow custom python interpreter to be specified by path #441

Open
James4Ever0 opened this issue Jul 23, 2023 · 1 comment
Open

Allow custom python interpreter to be specified by path #441

James4Ever0 opened this issue Jul 23, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@James4Ever0
Copy link

There are multiple python implementations such as pypy, jython, ironpython, rustpython etc. Also user may use different python interpreters under different conda or venv environments.

Adding this configuration using config file (default within current directory or home directory, but can be explicitly ordered to read config from given path) or command line options would be appreciated!

@James4Ever0 James4Ever0 added the enhancement New feature or request label Jul 23, 2023
@mtshiba
Copy link
Member

mtshiba commented Jul 24, 2023

A command option already exists to specify the interpreter to be used.

https://github.com/erg-lang/erg/blob/main/doc/EN/command_options.md#--py-command---python-command

The configuration file is currently under specification design. Please wait for a while.

Also, currently, Erg's bytecode backend only supports CPython. If you want to use other interpreters, please use the Python script backend (using transpile subcommand), which is an experimental feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants