Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,6 @@ target/

#Ipython Notebook
.ipynb_checkpoints

#Virtualenv
.env/
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,14 @@ All this data are available online, therefore the examples are only given to sho

## CDNSim uses Python2 and some libraries

### Create Virtualenv

virtualenv2 -p path/to/python2.7 .env

### Activate virtualenv

source ./env/bin/activate

### py2-ipaddress:

*Python 2.7 backport* of 3.3's ipaddress module.
Expand All @@ -40,8 +48,9 @@ or on Ubuntu/Debian: sudo apt-get install python-subnettree
or visit: https://pypi.python.org/pypi/pysubnettree/

### NetworkX:
*Works on version 1.9.1*

pip install networkx
pip install networkx=1.9.1

or on Ubuntu/Debian: sudo apt-get install python-networkx

Expand Down