Skip to content
Advertisement

Failed to activate virtualenv with pyenv

I run:

JavaScript

And I get:

JavaScript

I am trying to follow this tutorial: https://tutorials.technology/tutorials/59-Start-a-flask-project-from-zero-building-api-rest.html

Other info:

JavaScript

I recently made my .bash_profile it contains:

JavaScript

What should I do to properly start virtualenv?

Advertisement

Answer

That

JavaScript

should be in .bashrc, not .bash_profile. The latter is executed only by login shells, the former by all interactive shells.

User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement