質問編集履歴
1
vsコードで入力した際もエラーが出るため、その記述を追記しました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -1,8 +1,10 @@
|
|
1
|
+
Import "streamlit" could not be resolved、
|
2
|
+
|
1
|
-
powershellを使用して
|
3
|
+
1、powershellを使用して
|
2
4
|
|
3
5
|
**pip install streamlit**
|
4
6
|
|
5
|
-
で、
|
7
|
+
で、インストールを試みて、
|
6
8
|
|
7
9
|
実行しようとすると、以下の表示がでてしまいました。
|
8
10
|
|
@@ -25,12 +27,15 @@
|
|
25
27
|
streamlitを使いアプリを作りたい。
|
26
28
|
しかし、インストール後、実行する際、以下のエラーメッセージが発生しました。
|
27
29
|
|
30
|
+
また、VSコードで入力するとまたエラーになります。
|
28
31
|
### 発生している問題・エラーメッセージ
|
29
32
|
|
30
33
|
|
31
34
|
```
|
32
35
|
エラーメッセージ
|
33
36
|
```
|
37
|
+
1,powershlellのエラーメッセージ
|
38
|
+
|
34
39
|
(base) PS C:\Users\hanam> streamlit hello
|
35
40
|
> streamlit : 用語 'streamlit' は、コマンドレット、関数、スクリプト ファイル、または操作可能なプログラムの名前として認識
|
36
41
|
> されません。名前が正しく記述されていることを確認し、パスが含まれている場合はそのパスが正しいことを確認してから、再試行
|
@@ -41,8 +46,17 @@
|
|
41
46
|
> + CategoryInfo : ObjectNotFound: (streamlit:String) [], CommandNotFoundException
|
42
47
|
> + FullyQualifiedErrorId : CommandNotFoundException
|
43
48
|
|
49
|
+
|
50
|
+
|
51
|
+
2,vsコードのエラーメッセージ
|
52
|
+
|
53
|
+
|
54
|
+
Import "streamlit" could not be resolved
|
55
|
+
|
44
56
|
### 該当のソースコード
|
45
|
-
pip install streamlit ⇒ streamlit hello ⇒上記のエラーコード
|
57
|
+
1,pip install streamlit ⇒ streamlit hello ⇒上記のエラーコード
|
58
|
+
|
59
|
+
2,import streamlit as st
|
46
60
|
|
47
61
|
|
48
62
|
```ここに言語名を入力
|