LoginSignup
0
1

More than 5 years have passed since last update.

Gentoo Linux に TensorFlow r1.4 をインストール

Posted at

多分以下の方法がある

  • layman から overlay 持ってきてインストール (結論、動かなかった)
  • virtualenv に pip で入れる (動いた)

virtualenv + pip(3)

前準備
emerge pip virtualenv
調理
mkdir ˜/tensorflow

virtualenv --system-site-packages ˜/tensorflow もしくは
virtualenv --system-site-packages -p python3 ˜/tensorflow #python3

source ˜/tensorflow/bin/activate
easy_install -U pip
pip install --upgrade tensorflow

あとは使う前にvirtualenv に入る魔法
source ˜/tensorflow/bin/activate
を忘れなければ動く、はず
CPUのアーキテクチャが云々と出るかもしれませんが頑なに無視しましょう

0
1
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
0
1