Full width home advertisement

Post Page Advertisement [Top]

In Python, there is a way to create a virtual environment using venv or virtualenv which helps us to handle different python packages installation for multiple projects. It helps to separate out python installation and install different packages in a virtual environment.

To use virtualenv you need to install it. here are the steps to install virtualenv.

brew install python
python -V
python -m pip install --user --upgrade pip
pip install --user virtualenv
python -m
# below step on location where you want venv
python -m venv venv
source venv/bin/activate

Congratulations !!!🎉, you’ve successfully installed venv and activated it.

No comments:

Post a Comment

'; (function() { var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); })();

Bottom Ad [Post Page]

| Designed by Colorlib