pyenv
The pyenv resource reference. This resource installs pyenv, a python version manager that allows you to switch between multiple versions of Python.
Parameters:
-
global: (string) The global version of python to use.
-
nodeVersions: (array[string]) Python versions to be installed.
Example usage:
Setting up Python
- Create a
codify.json
file anywhere. - Open
codify.json
with your file editor and paste in the follow configs.
- Run
codify apply
in the directory of the file. Open a new terminal and run the commandpython --version
to check that Python was installed. It should returnPython 3.12.2
.
Notes:
This resource currently does not support virtual envs. This is something that will be added in the future.