質問編集履歴
3
詰まったところの前後の説明も加えた
title
CHANGED
File without changes
|
body
CHANGED
@@ -4,27 +4,24 @@
|
|
4
4
|
### 発生している問題・エラーメッセージ
|
5
5
|
|
6
6
|
```
|
7
|
-
%
|
7
|
+
% python3 -m pip install mkdocs
|
8
|
-
WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.
|
9
|
-
Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue.
|
10
|
-
To avoid this problem you can invoke Python with '-m pip' instead of running pip directly.
|
11
8
|
Defaulting to user installation because normal site-packages is not writeable
|
12
9
|
Requirement already satisfied: mkdocs in ./Library/Python/3.7/lib/python/site-packages (1.1.2)
|
10
|
+
Requirement already satisfied: click>=3.3 in ./Library/Python/3.7/lib/python/site-packages (from mkdocs) (7.1.2)
|
13
11
|
Requirement already satisfied: PyYAML>=3.10 in ./Library/Python/3.7/lib/python/site-packages (from mkdocs) (5.3.1)
|
12
|
+
Requirement already satisfied: Jinja2>=2.10.1 in /Library/Python/3.7/site-packages (from mkdocs) (2.11.2)
|
13
|
+
Requirement already satisfied: lunr[languages]==0.5.8 in ./Library/Python/3.7/lib/python/site-packages (from mkdocs) (0.5.8)
|
14
14
|
Requirement already satisfied: livereload>=2.5.1 in ./Library/Python/3.7/lib/python/site-packages (from mkdocs) (2.6.3)
|
15
|
-
Requirement already satisfied: Jinja2>=2.10.1 in /Library/Python/3.7/site-packages (from mkdocs) (2.11.2)
|
16
15
|
Requirement already satisfied: Markdown>=3.2.1 in ./Library/Python/3.7/lib/python/site-packages (from mkdocs) (3.2.1)
|
17
|
-
Requirement already satisfied: lunr[languages]==0.5.8 in ./Library/Python/3.7/lib/python/site-packages (from mkdocs) (0.5.8)
|
18
|
-
Requirement already satisfied: click>=3.3 in ./Library/Python/3.7/lib/python/site-packages (from mkdocs) (7.1.2)
|
19
16
|
Requirement already satisfied: tornado>=5.0 in /Library/Python/3.7/site-packages (from mkdocs) (6.0.4)
|
17
|
+
Requirement already satisfied: six>=1.11.0 in /Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/site-packages (from lunr[languages]==0.5.8->mkdocs) (1.12.0)
|
20
18
|
Requirement already satisfied: future>=0.16.0 in ./Library/Python/3.7/lib/python/site-packages (from lunr[languages]==0.5.8->mkdocs) (0.18.2)
|
21
|
-
Requirement already satisfied: six>=1.11.0 in /Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/site-packages (from lunr[languages]==0.5.8->mkdocs) (1.12.0)
|
22
19
|
Requirement already satisfied: nltk>=3.2.5 in ./Library/Python/3.7/lib/python/site-packages (from lunr[languages]==0.5.8->mkdocs) (3.5)
|
23
20
|
Requirement already satisfied: MarkupSafe>=0.23 in /Library/Python/3.7/site-packages (from Jinja2>=2.10.1->mkdocs) (1.1.1)
|
24
21
|
Requirement already satisfied: setuptools>=36 in ./Library/Python/3.7/lib/python/site-packages (from Markdown>=3.2.1->mkdocs) (46.1.3)
|
22
|
+
Requirement already satisfied: joblib in ./Library/Python/3.7/lib/python/site-packages (from nltk>=3.2.5->lunr[languages]==0.5.8->mkdocs) (0.16.0)
|
23
|
+
Requirement already satisfied: tqdm in ./Library/Python/3.7/lib/python/site-packages (from nltk>=3.2.5->lunr[languages]==0.5.8->mkdocs) (4.51.0)
|
25
24
|
Requirement already satisfied: regex in ./Library/Python/3.7/lib/python/site-packages (from nltk>=3.2.5->lunr[languages]==0.5.8->mkdocs) (2020.10.28)
|
26
|
-
Requirement already satisfied: tqdm in ./Library/Python/3.7/lib/python/site-packages (from nltk>=3.2.5->lunr[languages]==0.5.8->mkdocs) (4.51.0)
|
27
|
-
Requirement already satisfied: joblib in ./Library/Python/3.7/lib/python/site-packages (from nltk>=3.2.5->lunr[languages]==0.5.8->mkdocs) (0.16.0)
|
28
25
|
% mkdocs --version
|
29
26
|
zsh: command not found: mkdocs
|
30
27
|
```
|
@@ -33,5 +30,23 @@
|
|
33
30
|
|
34
31
|
・macOS Big Sur
|
35
32
|
バージョン 11.2.1
|
36
|
-
・python 3.7.3
|
33
|
+
・python 3.7.3(デフォルトではpython 2.7.16)
|
37
|
-
・pipコマンドについて、上記では「pip3 install」を使っているが、普段はWARNINGの内容に従って「python3 -m pip install」を使っている。これが問題なのでは?と思い「pip3 install」にしたが、WARNINGが表示されるようになっただけでその他のメッセージは変わらなかった。
|
34
|
+
・pipコマンドについて、上記では「pip3 install」を使っているが、普段はWARNINGの内容に従って「python3 -m pip install」を使っている。これが問題なのでは?と思い「pip3 install」にしたが、WARNINGが表示されるようになっただけでその他のメッセージは変わらなかった。
|
35
|
+
|
36
|
+
|
37
|
+
### 試したこと
|
38
|
+
・ターミナルのデフォルトのpythonが2系だったのを3系に直して「pip3 install mkdocs」を試した。
|
39
|
+
```
|
40
|
+
% alias python=/usr/bin/python3
|
41
|
+
% alias pip=/usr/bin/pip3
|
42
|
+
```
|
43
|
+
結果は下のように、「python3 -m pip install」使えというWARNINGが表示されるようになったが、その後のメッセージは変わらなかった。
|
44
|
+
```
|
45
|
+
% pip3 install mkdocs
|
46
|
+
WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.
|
47
|
+
Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue.
|
48
|
+
To avoid this problem you can invoke Python with '-m pip' instead of running pip directly.
|
49
|
+
Defaulting to user installation because normal site-packages is not writeable
|
50
|
+
Requirement already satisfied: mkdocs in ./Library/Python/3.7/lib/python/site-packages (1.1.2)
|
51
|
+
...(以下、「発生している問題」と同じメッセージになる)
|
52
|
+
```
|
2
pipコマンドについて説明追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
### 発生している問題・エラーメッセージ
|
5
5
|
|
6
6
|
```
|
7
|
-
%
|
7
|
+
% pip3 install mkdocs
|
8
8
|
WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.
|
9
9
|
Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue.
|
10
10
|
To avoid this problem you can invoke Python with '-m pip' instead of running pip directly.
|
@@ -33,4 +33,5 @@
|
|
33
33
|
|
34
34
|
・macOS Big Sur
|
35
35
|
バージョン 11.2.1
|
36
|
-
・python 3.7.3
|
36
|
+
・python 3.7.3
|
37
|
+
・pipコマンドについて、上記では「pip3 install」を使っているが、普段はWARNINGの内容に従って「python3 -m pip install」を使っている。これが問題なのでは?と思い「pip3 install」にしたが、WARNINGが表示されるようになっただけでその他のメッセージは変わらなかった。
|
1
pipコマンドですが、普段は修正後の方を使っています
title
CHANGED
File without changes
|
body
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
### 発生している問題・エラーメッセージ
|
5
5
|
|
6
6
|
```
|
7
|
-
%
|
7
|
+
% python3 -m pip install mkdocs
|
8
8
|
WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.
|
9
9
|
Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue.
|
10
10
|
To avoid this problem you can invoke Python with '-m pip' instead of running pip directly.
|