For this tutorial, you will need the following packages:
- Python 3
matplotlib
networkx
pandas
hiveplot
- do not doconda install hiveplot
, butpip install hiveplot
.numpy
$ cd /path/to/your/directory
- Clone the repository to disk:
$ git clone https://github.com/ericmjl/Network-Analysis-Made-Simple.git
$ cd Network-Analysis-Made-Simple
If you have the Anaconda distribution of Python 3 installed, then follow this set of instructions.
$ conda env create -f environment.yml
$ source activate network
Finally, check your environment by running the following command:
$ python checkenv.py
If you do not have the Anaconda distribution, I would highly recommend getting it for Windows, Mac or Linux. It provides an isolated Python computing environment that will not interfere with your system Python installation, and comes with a very awesome package manager (conda
) that makes installation of new packages a single conda install pkgname
away.
If you're not using Python 3, then check out @jakevdp's talk at SciPy2015 to find out why!
For those who do not have the capability of installing the Anaconda Python 3 distribution on their computers, please follow the instructions below.
- Create a virtual environment for this tutorial, so that the installed packages do not mess with your regular Python environment.
2.
$ pip install virtualenv
3.$ virtualenv network
4.$ source network/bin/activate
$ pip install matplotlib networkx pandas hiveplot numpy
Finaly, check your environment:
$ python checkenv.py
If you've attended this workshop, please leave feedback!.
If you're facing difficulties, please report it as an issue on this repository.
- Divvy Data Challenge: https://www.divvybikes.com/datachallenge