7
12

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Raspberry Piに Python開発環境を構築する

Posted at

pyenvを使ってもいいが、ラズパイでそんなにたくさんの環境が必要にはならないと思われるので、下の方が簡単。

$ sudo apt-get update
$ sudo apt-get upgrade
$ sudo apt-get install git gcc make openssl python-dev
$ sudo apt-get install libssl-dev libbz2-dev libreadline-dev libsqlite3-dev
$ sudo apt-get install tk-dev python-tk libfreetype6-dev 
$ sudo apt-get install pkg-config libjpeg8-dev  libpng12-dev
$ sudo apt-get install python-numpy python-scipy python-matplotlib

[option] opencv

$ sudo apt-get update
$ sudo apt-get install -y libopencv-dev
$ sudo apt-get install -y python-opencv
7
12
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
7
12

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?