質問編集履歴

1

やったこと記載

2019/02/02 22:41

投稿

hiroga
hiroga

スコア91

test CHANGED
File without changes
test CHANGED
@@ -12,4 +12,48 @@
12
12
 
13
13
 
14
14
 
15
+ # 試したこと
16
+
17
+ 1.`__main__.py`を直接動かそうとした
18
+
19
+ ```
20
+
21
+ cd cfn-python-lint/src/cfn-lint
22
+
23
+ python __main__.py ***yaml
24
+
25
+ Traceback (most recent call last):
26
+
27
+ File "__main__.py", line 19, in <module>
28
+
29
+ import cfnlint.core
30
+
31
+ ModuleNotFoundError: No module named 'cfnlint'
32
+
33
+ ```
34
+
35
+
36
+
37
+ 2.`__init__.py`を直接動かそうとした
38
+
39
+ ```
40
+
41
+ cd cfn-python-lint/src/cfn-lint
42
+
43
+ python __main__.py ***yaml
44
+
45
+ Traceback (most recent call last):
46
+
47
+ File "__init__.py", line 26, in <module>
48
+
49
+ import cfnlint.helpers
50
+
51
+ ModuleNotFoundError: No module named 'cfnlint'
52
+
53
+ ```
54
+
55
+
56
+
57
+
58
+
15
- 回答よろしくお願ます。
59
+ 助力いただけますと幸いです