GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Codify

This view

  • Original page
  • New address

GeezerVison is showing codifycli.com — pyenv | Codify

Python

pyenv

A reference page for the pyenv resource

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.

  • pythonVersions: (array[string]) Python versions to be installed.

Example usage:

codify.jsonc
[
  {
    "type":  "pyenv",
    "global": "3.12",
    "pythonVersions": [
      "3.9.6", "3.12"
    ]
  }
]

Setting up Python

Create a codify.jsonc file anywhere.
Open codify.jsonc with your file editor and paste in the follow configs.
codify.jsonc
[
  {
    "type":  "pyenv",
    "global": "3.12",
    "pythonVersions": [
      "3.12"
    ]
  }
]
Run codify apply in the directory of the file. Open a new terminal and run the command python --version to check that Python was installed. It should return Python 3.12.2.
terminal
codify apply

Notes:

This resource currently does not support virtual envs. This is something that will be added in the future.

pip-sync

A reference page for the pip-sync resource

uv

A reference page for the uv resource

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.