When trying to use pip to install flask within a virtual environment, I get the following error:
>(venv)username@Username-MacBook-Air ~/G/L/flaskTest> pip install Flask
>Failed to execute process '/Users/User/Google Drive/flaskTest/venv/bin/pip'. Reason:
>The file '/Users/username/Google Drive/flaskTest/venv/bin/pip' does not exist or could not be executed.
Is there any reason why this is happening?
Just had the same problem, which led me here. I had just created a new virtual environment and got that error. Like you, I had an ancestor directory with a space in it. After renaming the directory to eliminate the space, everything worked fine. (Someday I'll track down the bug!) Try changing "Google Drive" to "google_drive" or "GoogleDrive", etc.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With