Skip to content

Tag: virtualenv

pip command not found in virtual env even if file is there

These are the steps I did: Created a virtual env using python3 -m venv myvenv Activate the virtual env using myvenv/bin/activate Run python -m pip install –upgrade pip, to upgrade pip. run pip install -r requirements.txt It throws an error: bash: /Users/vince/Django Projects/test/myvenv/bin/pip: “…

Failed to activate virtualenv with pyenv

I run: And I get: I am trying to follow this tutorial: https://tutorials.technology/tutorials/59-Start-a-flask-project-from-zero-building-api-rest.html Other info: I recently made my .bash_profile it contains: What should I do to properly start virtualenv? Answer That should be in .bashrc, not .bash_profile. …