LoginSignup
0
0

More than 3 years have passed since last update.

Ubuntu18.04かつ病弱CPUでのTensorFlowの使い方

Posted at

はじめに

この記事の対象者は、病弱CPUでPython3.7を使っていてTensorFlowを使いたいのにエラーが出て対処に困っている方です。他の場合でもすぐにもとに戻せる操作なので一応試してみてください。

上手く行った手順

  • PythonをPython3.6へダウングレード
   sudo apt remove python3.7
   sudo apt install python3.6
  • TensorFlowをTensorFlow1.5へダウングレード
   python3.6 -m pip uninstall tensorflow  
   python3.6 -m pip install tensorflow==1.5 --user  
  • Numpyを上記のパッケージに互換性のあるNumpy1.14.1へダウングレード
   python3.6 -m pip uninstall numpy
   python3.6 -m pip install numpy==1.14.1 --user

今回はこれで解決しました。

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