質問編集履歴

4

修正

2018/10/07 20:45

投稿

_hh
_hh

スコア79

test CHANGED
File without changes
test CHANGED
@@ -136,8 +136,6 @@
136
136
 
137
137
  import sklearn
138
138
 
139
- #import mglearn
140
-
141
139
  import sys;
142
140
 
143
141
  print(sys.path)

3

追記

2018/10/07 20:45

投稿

_hh
_hh

スコア79

test CHANGED
File without changes
test CHANGED
@@ -63,3 +63,89 @@
63
63
 
64
64
 
65
65
  pip のアップデートをしたのち、pip install mglearnを何度か行いましたが、状況が変わりません。
66
+
67
+
68
+
69
+ OS:Windows10 64bit
70
+
71
+ Python環境:Miniconda 
72
+
73
+ 起動方法:Anacondaプロンプトで、activate *** として仮想環境を立ち上げて、
74
+
75
+     "jupyter notebook"と打つと、chromeでjupyter notebookが起動して
76
+
77
+      利用しております。
78
+
79
+
80
+
81
+ mglearnのインストール:同じくanacondaプロンプトで"pip install mglearn"
82
+
83
+ として行いました。
84
+
85
+
86
+
87
+ ●anacondaプロンプトでうった結果:
88
+
89
+
90
+
91
+ (base) C:\Users\honda>pip show mglearn
92
+
93
+ Name: mglearn
94
+
95
+ Version: 0.1.6
96
+
97
+ Summary: Helper functions for the book 'Introduction to machine learning with Python'
98
+
99
+ Home-page: https://github.com/amueller/introduction_to_ml_with_python
100
+
101
+ Author: Andreas Mueller
102
+
103
+ Author-email: t3kcit@gmail.com
104
+
105
+ License: BSD
106
+
107
+ Location: c:\users\honda\miniconda3\lib\site-packages
108
+
109
+ Requires: numpy, scikit-learn, pillow, matplotlib, cycler, pandas
110
+
111
+ Required-by:
112
+
113
+
114
+
115
+ (base) C:\Users\honda>
116
+
117
+
118
+
119
+
120
+
121
+ ※表示の意味がよく分かっていませんが、
122
+
123
+ 日頃からnumpyやpandas,matplotlibは日常的に用いているのですが、、なぜRequiresに入っているのかな?
124
+
125
+ と思いました。。
126
+
127
+
128
+
129
+ ●Jupyter で以下の様にうった結果
130
+
131
+ import numpy as np
132
+
133
+ import matplotlib.pyplot as plt
134
+
135
+ import pandas as pd
136
+
137
+ import sklearn
138
+
139
+ #import mglearn
140
+
141
+ import sys;
142
+
143
+ print(sys.path)
144
+
145
+
146
+
147
+
148
+
149
+
150
+
151
+ ['', 'C:\Users\honda\Miniconda3\envs\stats\python36.zip', 'C:\Users\honda\Miniconda3\envs\stats\DLLs', 'C:\Users\honda\Miniconda3\envs\stats\lib', 'C:\Users\honda\Miniconda3\envs\stats', 'C:\Users\honda\Miniconda3\envs\stats\lib\site-packages', 'C:\Users\honda\Miniconda3\envs\stats\lib\site-packages\win32', 'C:\Users\honda\Miniconda3\envs\stats\lib\site-packages\win32\lib', 'C:\Users\honda\Miniconda3\envs\stats\lib\site-packages\Pythonwin', 'C:\Users\honda\Miniconda3\envs\stats\lib\site-packages\IPython\extensions', 'C:\Users\honda\.ipython']

2

ご連絡有難うございます。 ●anacondaプロンプトでうった結果: (base) C:\Users\honda>pip show mglearn Name: mglearn Version: 0.

2018/10/07 20:44

投稿

_hh
_hh

スコア79

test CHANGED
File without changes
test CHANGED
File without changes

1

ご連絡有難うございます。 ●anacondaプロンプトでうった結果: (base) C:\Users\honda>pip show mglearn Name: mglearn Version: 0.

2018/10/07 20:10

投稿

_hh
_hh

スコア79

test CHANGED
File without changes
test CHANGED
File without changes