Sunday, October 31, 2021

[SOLVED] virtualenv can't find python2

Issue

I'm on a mac, which comes with python 2.7 installed, so I should have the required version.

At least, I believe that's the problem. I'm getting an error when trying to run make install for a project, and getting the following error:

The executable python2 (from --python=python2) does not exist
make: *** [bin/python] Error 3

Solution

virtualenv --python=python3 fibonacci_env

Point out which python



Answered By - Shinto Joseph