科学の箱

科学・IT・登山の話題

Python

pythonでTensorFlowを使うまで

投稿日:2018年11月5日 更新日:

TensorFlowが利用できるまでの設定手順をまとめる。

まず基本となるインストラクションはこちらにある。

https://www.tensorflow.org/install/pip

このインストラクションによればインストールはpip経由であるがその前にVisual Studio 15のredistributable fileをインストールする必要がある。

この後にpip install tensorflowをしたところエラーが出る。

Collecting tensorflow
Could not find a version that satisfies the requirement tensorflow (from versions: )
No matching distribution found for tensorflow

確認したところpython 3.7ではtensorflowが利用できないことが分かった。

対応方法としてはpythonを3.6にダウングレードする。

conda install python=3.6.6

 

メタ情報

inarticle



メタ情報

inarticle



-Python

執筆者:


comment

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です

関連記事

no image

automated the boring

まずは肩慣らし print(‘Hello world!’) print(‘What is your name?’) # ask for their na …

no image

janomeで品詞を解析する

  import sys import os from glob import glob from janome.tokenizer import Tokenizer def main(): …

no image

graphvizによる決定木の表示

graphvizの実行ファイルをインストール https://graphviz.gitlab.io/_pages/Download/Download_windows.html pythonにgraph …

no image

seabornで線形解析を実施する

seabornを使えば線形解析も簡単に実行できる。   import seaborn as sns tips = sns.load_dataset(‘tips’) sns.lmplot(x= …

no image

python coding styleのツール

Pythonで使えるコーディングツール pep8 flake8 pylint   Related posts:automated the boring – day9初めてのmatplotli …

2018年11月
« 10月   12月 »
 1234
567891011
12131415161718
19202122232425
2627282930  

side bar top



アーカイブ

カテゴリー