質問編集履歴
10
変更点追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -61,4 +61,13 @@
|
|
61
61
|
```
|
62
62
|
|
63
63
|
|
64
|
-

|
64
|
+

|
65
|
+
|
66
|
+
```実行結果
|
67
|
+
(base) @@@ ~ % streamlit run main.py
|
68
|
+
↓
|
69
|
+
Usage: streamlit run [OPTIONS] TARGET [ARGS]...
|
70
|
+
|
71
|
+
Error: Streamlit requires raw Python (.py) files, not .py .
|
72
|
+
For more information, please see https://docs.streamlit.io
|
73
|
+
```
|
9
コード追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -58,4 +58,7 @@
|
|
58
58
|
↓
|
59
59
|
```errorcode
|
60
60
|
SyntaxError: invalid syntax
|
61
|
-
```
|
61
|
+
```
|
62
|
+
|
63
|
+
|
64
|
+

|
8
コード追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -23,13 +23,6 @@
|
|
23
23
|

|
24
24
|

|
25
25
|
|
26
|
-
```terminal
|
27
|
-
streamlit run main.py
|
28
|
-
```
|
29
|
-
```errorcode
|
30
|
-
SyntaxError: invalid syntax
|
31
|
-
```
|
32
|
-
|
33
26
|
**jupyterlab**
|
34
27
|
```jupyterlab
|
35
28
|
import streamlit as st
|
@@ -57,4 +50,12 @@
|
|
57
50
|
```
|
58
51
|
```streamlit
|
59
52
|
streamlit 0.72.0
|
53
|
+
```
|
54
|
+
|
55
|
+
```terminal
|
56
|
+
streamlit run main.py
|
57
|
+
```
|
58
|
+
↓
|
59
|
+
```errorcode
|
60
|
+
SyntaxError: invalid syntax
|
60
61
|
```
|
7
変更点追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -8,6 +8,7 @@
|
|
8
8
|
docker, jupyterlab, もインストールしている関係もあるのでしょうか。
|
9
9
|
ご教授お願い致します。
|
10
10
|
|
11
|
+
**VScode**
|
11
12
|
```VSCode
|
12
13
|
import streamlit as st
|
13
14
|
import numpy as np
|
@@ -29,6 +30,27 @@
|
|
29
30
|
SyntaxError: invalid syntax
|
30
31
|
```
|
31
32
|
|
33
|
+
**jupyterlab**
|
34
|
+
```jupyterlab
|
35
|
+
import streamlit as st
|
36
|
+
import numpy as np
|
37
|
+
import pandas as pd
|
38
|
+
```
|
39
|
+
```jupyterlab
|
40
|
+
st.title('Streamlit')
|
41
|
+
```
|
42
|
+
```jupyterlab
|
43
|
+
streamlit run main.py
|
44
|
+
```
|
45
|
+
```jupyterlab
|
46
|
+
File "<ipython-input-13-2e02c77d4725>", line 1
|
47
|
+
streamlit run main.py
|
48
|
+
^
|
49
|
+
SyntaxError: invalid syntax
|
50
|
+
```
|
51
|
+
|
52
|
+
|
53
|
+
**terminal**
|
32
54
|
ver
|
33
55
|
```pandas
|
34
56
|
pandas 1.0.5
|
6
変更点追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -27,4 +27,12 @@
|
|
27
27
|
```
|
28
28
|
```errorcode
|
29
29
|
SyntaxError: invalid syntax
|
30
|
+
```
|
31
|
+
|
32
|
+
ver
|
33
|
+
```pandas
|
34
|
+
pandas 1.0.5
|
35
|
+
```
|
36
|
+
```streamlit
|
37
|
+
streamlit 0.72.0
|
30
38
|
```
|
5
コード追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -1,9 +1,13 @@
|
|
1
1
|
python の拡張機能をインポートしたいのですが、vscode エラーが出てしまいます。
|
2
2
|
vscodeにインストールすれば解決しますか。
|
3
3
|
|
4
|
+
macOS Big Sur ver 11.0.1
|
5
|
+
streamlit, pandas は、ターミナルにて pip install streamlit(pandas)でインストールしました。
|
6
|
+
|
4
7
|
<python3.9.0 64-bit> python のバージョンを変えてもエラーが消えないです。
|
5
8
|
docker, jupyterlab, もインストールしている関係もあるのでしょうか。
|
6
9
|
ご教授お願い致します。
|
10
|
+
|
7
11
|
```VSCode
|
8
12
|
import streamlit as st
|
9
13
|
import numpy as np
|
4
文法修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -9,11 +9,18 @@
|
|
9
9
|
import numpy as np
|
10
10
|
import pandas as pd
|
11
11
|
```
|
12
|
+
|
12
|
-
|
13
|
+
```errorcode
|
13
|
-
```error
|
14
14
|
File "<stdin>", line 1, in <module>
|
15
15
|
ModuleNotFoundError: No module named 'pandas'
|
16
16
|
```
|
17
17
|
|
18
18
|

|
19
|
-

|
19
|
+

|
20
|
+
|
21
|
+
```terminal
|
22
|
+
streamlit run main.py
|
23
|
+
```
|
24
|
+
```errorcode
|
25
|
+
SyntaxError: invalid syntax
|
26
|
+
```
|
3
コード追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -1,8 +1,9 @@
|
|
1
1
|
python の拡張機能をインポートしたいのですが、vscode エラーが出てしまいます。
|
2
2
|
vscodeにインストールすれば解決しますか。
|
3
|
-
|
3
|
+
|
4
|
-
よろしくお願い致します。
|
5
4
|
<python3.9.0 64-bit> python のバージョンを変えてもエラーが消えないです。
|
5
|
+
docker, jupyterlab, もインストールしている関係もあるのでしょうか。
|
6
|
+
ご教授お願い致します。
|
6
7
|
```VSCode
|
7
8
|
import streamlit as st
|
8
9
|
import numpy as np
|
2
文法修正
title
CHANGED
@@ -1,1 +1,1 @@
|
|
1
|
-
VSCode streamlit import エラー
|
1
|
+
VSCode streamlit, pandas import エラー
|
body
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
vscodeにインストールすれば解決しますか。
|
3
3
|
わからないため、教えていただけると助かります。
|
4
4
|
よろしくお願い致します。
|
5
|
-
<python3.9.0 64-bit>
|
5
|
+
<python3.9.0 64-bit> python のバージョンを変えてもエラーが消えないです。
|
6
6
|
```VSCode
|
7
7
|
import streamlit as st
|
8
8
|
import numpy as np
|
1
文法修正
title
CHANGED
@@ -1,1 +1,1 @@
|
|
1
|
-
VSCode import エラー
|
1
|
+
VSCode streamlit import エラー
|
body
CHANGED
File without changes
|