Create a Virtual environment for python 3

I have Ubuntu and it has python 2.7 as default.
Along with it I have configured python3 as well.

To create a virtual environment for a python 3 project I have executed following

virtualenv -p /usr/bin/python3 mlvenv
It created a virtual environment named mlvenv
Now to activate it source mlvenv/bin/activate
To confirm python --version
null

Leave a Reply

Your email address will not be published. Required fields are marked *.

*
*
You may use these <abbr title="HyperText Markup Language">HTML</abbr> tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>