質問編集履歴
1
追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -1,4 +1,28 @@
|
|
1
1
|
初歩の初歩の質問です。
|
2
2
|
参考サイトにて、下記の記述があったのですが「pip install module」にて対応したのですが、下記の箇所のみNo module namedと出力されてしまいます。なにか別途インストールが必要なのでしょうか?
|
3
3
|
|
4
|
-
from module.site.site import Site
|
4
|
+
from module.site.site import Site
|
5
|
+
|
6
|
+
|
7
|
+
https://qiita.com/haminiku/items/227489e7a9ade9167fb1
|
8
|
+
|
9
|
+
上記サイトを参考にしており、一度自分のPCから対応してみたのですが下記のようなエラーメッセージがでております。
|
10
|
+
|
11
|
+
---------------------------------------------------------------------------
|
12
|
+
ModuleNotFoundError Traceback (most recent call last)
|
13
|
+
<ipython-input-11-e3169088a414> in <module>()
|
14
|
+
8 import asyncio
|
15
|
+
9 import aiohttp
|
16
|
+
---> 10 from module.site.site import Site
|
17
|
+
11
|
18
|
+
12
|
19
|
+
|
20
|
+
ModuleNotFoundError: No module named 'module'
|
21
|
+
|
22
|
+
---------------------------------------------------------------------------
|
23
|
+
NOTE: If your import is failing due to a missing package, you can
|
24
|
+
manually install dependencies using either !pip or !apt.
|
25
|
+
|
26
|
+
To view examples of installing some common dependencies, click the
|
27
|
+
"Open Examples" button below.
|
28
|
+
---------------------------------------------------------------------------
|