Skip to content

Instantly share code, notes, and snippets.

Avatar

Lavanya Addepalli phanilav

  • Wandering Researcher
  • India
View GitHub Profile
@hdemers
hdemers / pydata-science.sh
Last active Jun 1, 2020
Installation instructions for doing data science in a Python environment on Ubuntu. We'll install base packages like numpy, scipy, scikit-learn and pandas. We also install the IPython Notebook interactive environment. This is a best practice recommendation for doing research-type work. We make use of virtualenvwrapper, but don't show how to inst…
View pydata-science.sh
mkvirtualenv datascience
sudo apt-get install python-scipy libblas-dev liblapack-dev gfortran
sudo apt-get install libffi-dev # for cryptography from scrapy
sudo apt-get install libxslt-dev # for libxml from scrapy
export BLAS=/usr/lib/libblas.so
export LAPACK=/usr/lib/liblapack.so
pip install numpy
pip install scipy
pip install scikit-learn
pip install pandas
You can’t perform that action at this time.