-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcovid19_setup.txt
51 lines (37 loc) · 1.24 KB
/
covid19_setup.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
Steps to create a virtual environment:
--------------------------------------
1. Find out Python3 version:
python3 -V
2. It should output something like:
Python 3.7.4
3.If required
sudo apt install virtualenv
4. Now run the following command to create a virtual environment
virtualenv --no-site-packages --python=python3.7 covid19VirEnv
5. To activate the the virtual environment run
source covid19VirEnv/bin/activate
6. To install dependencies run
pip3 install pandas matplotlib tabulate plotly xlrd requests
Steps to Run Covid Profiler:
--------------------------
1. To activate the the virtual environment run
source covid19VirEnv/bin/activate
2. To generate the graphs run
python3 covid19ECDCProfiler.py --country=China
--------------------------
Windows Setup
--------------------------
#Create Virtual env
virtualenv --python=python3.8 covid19VirEnv
#To activate the the virtual environment run
covid19VirEnv\Scripts\activate
#To install dependencies run
pip install pandas matplotlib tabulate plotly xlrd requests
#deactivate
deactivate
Steps to Run Covid Profiler:
--------------------------
1. To activate the the virtual environment run
covid19VirEnv\Scripts\activate
2. To generate the graphs run
python covid19ECDCProfiler.py --country=China