2
2

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.

TensorFlowを使いたいだけなのに、なんかすごいコケてはまったのでメモしておく。

Last updated at Posted at 2016-03-06

追記

※結局home brew のpythonを捨てて、macのpython使ったらコケずにいけました。なので、以下の投稿は洋なしです。

結局Vagrantの中にUbuntu入れて、Python3でやりました。
pipをapt-getでいれなければ、いけました。

vagrant init ubuntu/trusty64
vagrant up
vagrant ssh

参考
http://phpy.readthedocs.org/en/latest/install.html

python3 -V
# Python 3.4.0

sudo apt-get update
sudo apt-get upgrade

python3 -V
# Python 3.4.3


# これだとエラー
# wget https://raw.github.com/pypa/pip/master/contrib/get-pip.py
# sudo /usr/bin/python3 get-pip.py
# You're using an outdated location for the get-pip.py script, 
# please use the one available from https://bootstrap.pypa.io/get-pip.py

wget https://bootstrap.pypa.io/get-pip.py
sudo /usr/bin/python3 get-pip.py
pip3 list

sudo apt-get install python3-dev

sudo pip3 install --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.7.1-cp34-none-linux_x86_64.whl

pip3 list
# command-not-found (0.3)
# language-selector (0.1)
# numpy (1.10.4)
# pip (8.1.0)
# protobuf (3.0.0b2)
# pycurl (7.19.3)
# pygobject (3.12.0)
# python-apt (0.9.3.5ubuntu2)
# setuptools (20.2.2)
# six (1.10.0)
# tensorflow (0.7.1)
# ufw (0.34-rc-0ubuntu2)
# unattended-upgrades (0.1)
# wheel (0.29.0)
2
2
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
2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?