2016년 12월 31일 토요일

Python scikit-learn installation

Using pip

  • Reference: http://scikit-learn.org/stable/install.html
  • Requirements:
    • Python (>= 2.6 or >= 3.3),
    • NumPy (>= 1.6.1),
    • SciPy (>= 0.9).
  • As-is:
    • Ubuntu 16.04.01 LTS
    • Python 2.7.12
      • if using Python 3/x, use 'pip3' instead of 'pip'.

$ sudo apt-get update
$ sudo apt install python-pip
  • pip 8.1.1 
$ pip install numpy
  • numpy 1.11.3
$ pip install scipy
  • scipy 0.18.1
$ pip install -U scikit-learn
  • scikit-learn 0.18.1
$ pip install jupyter

$ gedit ~/.bashrc
export PATH=$PATH:~/.local/bin
$ source ~/.bashrc

$ jupyter notebook


댓글 없음:

댓글 쓰기