teratail header banner
teratail header banner
質問するログイン新規登録

回答編集履歴

3

修正

2021/09/18 08:57

投稿

technocore
technocore

スコア7398

answer CHANGED
@@ -15,8 +15,8 @@
15
15
  Python 3.9.7 (default, Sep 10 2021, 09:37:04)
16
16
  [Clang 12.0.5 (clang-1205.0.22.11)] on darwin
17
17
  Type "help", "copyright", "credits" or "license" for more information.
18
- >>> import PIL
18
+ >>> import PIL.Image
19
- >>> PIL.__version__
19
+ >>> PIL.Image.__version__
20
20
  '8.3.2'
21
21
  ```
22
22
  >いろいろ試したのですがわからない

2

追記

2021/09/18 08:57

投稿

technocore
technocore

スコア7398

answer CHANGED
@@ -20,4 +20,5 @@
20
20
  '8.3.2'
21
21
  ```
22
22
  >いろいろ試したのですがわからない
23
- 試したことを質問文に書きましょう。
23
+ 試したことを質問文に書きましょう。
24
+ 回答者に無駄な回答をさせないようにしてください。

1

追記

2021/09/18 08:54

投稿

technocore
technocore

スコア7398

answer CHANGED
@@ -3,5 +3,21 @@
3
3
  とりあえずこのエラーを解決しましょう。
4
4
  PILはPillowパッケージに含まれていますので、pipコマンドでインストールしてみてください。
5
5
 
6
+ ```ここに言語を入力
7
+ $ pip list
8
+ Package Version
9
+ ---------- -------
10
+ Pillow 8.3.2
11
+ pip 21.2.3
12
+ setuptools 57.4.0
13
+
14
+ $ python
15
+ Python 3.9.7 (default, Sep 10 2021, 09:37:04)
16
+ [Clang 12.0.5 (clang-1205.0.22.11)] on darwin
17
+ Type "help", "copyright", "credits" or "license" for more information.
18
+ >>> import PIL
19
+ >>> PIL.__version__
20
+ '8.3.2'
21
+ ```
6
22
  >いろいろ試したのですがわからない
7
23
  試したことを質問文に書きましょう。