Installing Python 3 with virtualenv on Amazon Linux v2
From DevOps Notebook
# yum install epel-release # yum install python3.x86_64 python3-pip # pip3 install -U pip # pip3 install -U virtualenv # /usr/local/bin/virtualenv .env # source .env/bin/activate
Used full path to virtualenv,because python2 version is in PATH by default (ofc this can be changed)