1 Answers
Run pip -V command to check the version first.
Lets say you have below as result from above command;
pip 20.3.4 from /home/cloud_user_p_8679dcb9/venv/lib/python3.9/site-packages/pip (python 3.9)
That means your version is at python 3.9, And you will have to run below command instead;
virtualenv venv -p python3.9