Installing Python 3 with virtualenv on Amazon Linux v2

From DevOps Notebook
Revision as of 06:16, 14 May 2020 by MilosZ (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
# 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)