Install virtualenv - python

0 votes
I am just starting to learn python fask concepts. I need to install virtualenv. How do I do that?
Oct 7, 2019 in Python by Hannah
• 18,040 points
144 views

1 answer to this question.

0 votes

Follow these steps to install virtualenv on python:

$ pip install virtualenv  
$ mkdir new   
$ cd new   
$ virtualenv venv 

Activate the virtualenv from your Linux shell:

$ venv/bin/activate   

If you are using windows use the following command to activate virtualenv:

$ venv\scripts\activate 

Now go ahead and install flask:

$ pip install flask  
answered Oct 7, 2019 by Harshit

Related Questions In Python

0 votes
0 answers

Python error "ERROR: Can not perform a '--user' install. User site-packages are not visible in this virtualenv."

I tried upgrading pip using the following ...READ MORE

Oct 3, 2019 in Python by Hannah
• 18,040 points
1,251 views
0 votes
1 answer

How to Install Python packages from local file system folder to virtualenv with pip?

Hello @kartik, You can try the code below: pip ...READ MORE

answered May 11 in Python by Niroj
• 23,950 points
58 views
0 votes
1 answer

Install pip in Python 3.4

Don't worry! Python already comes in default ...READ MORE

answered May 1, 2018 in Python by aayushi
• 750 points
302 views
0 votes
1 answer

How to install Python MySQLdb module using pip?

It's easy to do, but hard to ...READ MORE

answered Aug 20, 2018 in Python by charlie_brown
• 7,760 points
150 views
+1 vote
2 answers

how can i count the items in a list?

Syntax :            list. count(value) Code: colors = ['red', 'green', ...READ MORE

answered Jul 6, 2019 in Python by Neha
• 330 points

edited Jul 8, 2019 by Kalgi 963 views
0 votes
0 answers
+4 votes
6 answers
0 votes
1 answer
+1 vote
1 answer