###前提・実現したいこと
tensorflowでMNISTの学習をしたい.
tensorflowのエラーを解決したい
windows環境でもtensorflowが動作するということで環境を整備し、tensorflowをダウンロードしました.
しかし、チュートリアルのMNISTデータの学習がうまくいかず、困っています.調べても解決できなかったので質問させていただきます.
###環境
ANACONDA3 64-bit
windows10
cuda 8.0.61
NVIDA 5.2
###発生している問題・エラーメッセージ
ImportError: No module named 'matplotlib.path'
というエラーメッセージが出てしまいます.
以下実行ログ
C:\Users(ユーザー名)\matplotlib_init.py:834: UserWarning: Could not find matplotlibrc; using defaults
warnings.warn('Could not find matplotlibrc; using defaults')
C:\Users(ユーザー名)\matplotlib_init_.py:997: UserWarning: could not find rc file; returning defaults
warnings.warn(message)
Traceback (most recent call last):
File "mnist_install.py", line 3, in <module>
import matplotlib.pyplot as plt
File "C:\Users(ユーザー名)\matplotlib\pyplot.py", line 29, in <module>
import matplotlib.colorbar
File "C:\Users(ユーザー名)\matplotlib\colorbar.py", line 32, in <module>
import matplotlib.artist as martist
File "C:\Users(ユーザー名)\matplotlib\artist.py", line 15, in <module>
from .transforms import (Bbox, IdentityTransform, TransformedBbox,
File "C:\Users(ユーザー名)\matplotlib\transforms.py", line 42, in <module>
from matplotlib._path import (affine_transform, count_bboxes_overlapping_bbox,
ImportError: No module named 'matplotlib._path'
###該当のソースコード
python 3.5.3
import tensorflow as tf
import numpy as np
import matplotlib.pyplot as plt
from tensorflow.examples.tutorials.mnist import input_data
mnist = input_data.read_data_sets('.', one_hot=True)
###試したこと
・pip install matplotlib._path を実行しましたが失敗
(tensorenv) C:\Users(ユーザー名)
pip install matplotlib._path
Collecting matplotlib._path
Could not find a version that satisfies the requirement
matplotlib._path (from versions: )
No matching distribution found for matplotlib._path
・pythonでimport matplotlibを実行しました.
Python 3.5.3 |Continuum Analytics, Inc.| (default, Feb 22 2017, 21:28:42) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
import matplotlib
C:\Users(ユーザー名)\matplotlib_init_.py:834:UserWarning: Could not find matplotlibrc; using defaults
warnings.warn('Could not find matplotlibrc; using defaults')
C:\Users(ユーザー名)\matplotlib_init_.py:997: UserWarning: could not find rc file; returning defaults
warnings.warn(message)
matplotlib
<module 'matplotlib' from 'C:\Users\ユーザー名\matplotlib\init.py'>
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2017/03/18 03:04
2017/03/18 03:28
2017/03/18 10:22
2017/06/13 15:40