Python環境構築 環境: Ubuntu 16.04.2 LTS pyenv + Anacondaを使って環境を構築する。 パッケージインストール % sudo apt-get install -y make build-essential \ libssl-dev zlib1g-dev libbz2-dev wget curl llvm \ libncurses5-dev libncursesw5-dev libpng-dev % git clone git://github.com/yyuu/pyenv.git ~/.pyenv % git clone https://github.com/yyuu/pyenv-pip-rehash.git ~/.pyenv/plugins/pyenv-pip-rehash % echo 'export PYENV_ROOT="$HOME/.pyen
![UbuntuにPythonの環境構築 - Qiita](https://cdn-ak-scissors.b.st-hatena.com/image/square/ffe8dfd9b2f66c7f49e0b915f043258d91da4604/height=288;version=1;width=512/https%3A%2F%2Fqiita-user-contents.imgix.net%2Fhttps%253A%252F%252Fcdn.qiita.com%252Fassets%252Fpublic%252Farticle-ogp-background-9f5428127621718a910c8b63951390ad.png%3Fixlib%3Drb-4.0.0%26w%3D1200%26mark64%3DaHR0cHM6Ly9xaWl0YS11c2VyLWNvbnRlbnRzLmltZ2l4Lm5ldC9-dGV4dD9peGxpYj1yYi00LjAuMCZ3PTkxNiZoPTMzNiZ0eHQ9VWJ1bnR1JUUzJTgxJUFCUHl0aG9uJUUzJTgxJUFFJUU3JTkyJUIwJUU1JUEyJTgzJUU2JUE3JThCJUU3JUFGJTg5JnR4dC1jb2xvcj0lMjMyMTIxMjEmdHh0LWZvbnQ9SGlyYWdpbm8lMjBTYW5zJTIwVzYmdHh0LXNpemU9NTYmdHh0LWNsaXA9ZWxsaXBzaXMmdHh0LWFsaWduPWxlZnQlMkN0b3Amcz00NjY5YzgxYjlhZGEwYTA4ZTEwMDFhNzA2MDRiMjUwOQ%26mark-x%3D142%26mark-y%3D112%26blend64%3DaHR0cHM6Ly9xaWl0YS11c2VyLWNvbnRlbnRzLmltZ2l4Lm5ldC9-dGV4dD9peGxpYj1yYi00LjAuMCZ3PTYxNiZ0eHQ9JTQwa2FpdG9paTExJnR4dC1jb2xvcj0lMjMyMTIxMjEmdHh0LWZvbnQ9SGlyYWdpbm8lMjBTYW5zJTIwVzYmdHh0LXNpemU9MzYmdHh0LWFsaWduPWxlZnQlMkN0b3Amcz0zOWU3OGIxYTUyMGIxYWNhZWI1NTQxYzNjZmJiZTE0OQ%26blend-x%3D142%26blend-y%3D491%26blend-mode%3Dnormal%26s%3Dd694fed6a8fc084002581deb2cbaa6a2)