Install Python using pyenv

  1. List installed versions

pyenv versions

  1. List available versions

pyenv install -l

  1. Install

pyenv install python 3.11

Creat a virtual environment using pipenv

  1. Create a vertual environment

pipenv –python 3.11

  1. Activate the cirtual environment

pipenv shell

  1. Install a library

pienv install pandas