[PYTHON] PyData related environment construction

Purpose

The tutorial will be held on Saturday, March 7, 2015 at PyData.Tokyo. We needed to prepare for it. PyData.Tokyo Tutorial & Hackathon #1

It seems to be a tutorial using the following data. Titanic Passenger Data: Titanic: Machine Learning from Disaster

The recommended installation method was to use Anaconda, but I used the installation method using pip because it was a good opportunity.

Installation / environment

environment

I want to install the following

Execution content

Advance preparation

$ sudo apt-get update
$ sudo apt-get install -y build-essential libssl-dev libxml2-dev 
$ sudo apt-get install -y libxslt1-dev libbz2-dev zlib1g-dev 
$ sudo apt-get install -y libjpeg62-dev libreadline-gplv2-dev
$ sudo apt-get install -y python3-dev 

$ wget https://bootstrap.pypa.io/get-pip.py
$ sudo python3 get-pip.py 
$ sudo pip3 install virtualenv

$ mkdir dev
$ cd dev/
$ virtualenv-3.4 pydata

Install what you want

$ sudo apt-get install libblas-dev
$ sudo apt-get install liblas-dev
$ sudo apt-get install liblapack-dev
$ sudo apt-get install gfortran
$ sudo apt-get install libfreetype6-dev

$ ./bin/pip install numpy
$ ./bin/pip install scipy
$ ./bin/pip install pandas
$ ./bin/pip install scikit-learn
$ ./bin/pip install matplotlib
$ ./bin/pip install ipython[notebook]

Referenced documents

Numpy, sciypy, matplotlib, pandas, scikit-learn environment construction and so on by rokujyouhitoma Helped by @ rokujyouhitoma's blog

Finally

--I'm running ipython notebook on Vagrant, but I can't do port forwarding from the host machine, so I'm doing the following. Where should I set it? ??

$ vagrant ssh -- -L 8888:localhost:8888

--This entry was created by Manabu TERADA (@terapyon) and introduced on Blog.

Recommended Posts

PyData related environment construction
Django environment construction
DeepIE3D environment construction
Linux environment construction
Python environment construction
Environment construction (python)
django environment construction
CodeIgniter environment construction
python environment construction
Python --Environment construction
Python environment construction
Golang environment construction
python environment construction
Word2vec environment construction
Environment construction: GCP + Docker
Django project environment construction
python windows environment construction
Go language environment construction
ConoHa environment construction memo
homebrew python environment construction
Anaconda-4.2.0-python3 environment construction (Mac)
Python development environment construction
YOLO v4 environment construction ①
pyenv + fish environment construction
python2.7 development environment construction
BigGorilla environment construction memo
grip environment construction onCentOS6.5
Anaconda environment construction memo
Golang environment construction [goenv]
Mac environment construction Python
Pyxel environment construction (Mac)
Python environment construction @ Win7
[Ubuntu 18.04] Tensorflow 2.0.0-GPU environment construction
Python + Anaconda + Pycharm environment construction
About Linux environment construction (CentOS)
PyTorch C ++ (LibTorch) environment construction
Anaconda environment construction on CentOS7
Django development environment construction memo
First LAMP environment construction (Linux)
Python environment construction (Windows10 + Emacs)
CI environment construction ~ Python edition ~
[Memo] Construction of cygwin environment
ML environment construction with Miniconda
Python environment construction For Mac
Anaconda3 python environment construction procedure
Docker + Django + React environment construction
Anaconda3 × Pycharm environment construction memo
Python3 environment construction (for beginners)
Python environment construction and TensorFlow
NumPy and matplotlib environment construction
Machine learning environment construction macbook 2021
Python environment construction under Windows7 environment
[MEMO] [Development environment construction] Python
Ubuntu14.04 + GPU + TensorFlow environment construction
[Tensorflow] Tensorflow environment construction on Windows 10
Environment construction, Build -Go edition-
django project development environment construction
Linux environment construction (on WSL environment)
Environment construction of python2 & 3 (OSX)
[MEMO] [Development environment construction] wine
Ansible environment construction For Mac