質問編集履歴
1
追加
title
CHANGED
|
File without changes
|
body
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
今回、仕事でPython3.xでWebスクレイピングを行うことになりました。
|
|
2
2
|
以前まで、Python2.xでスクレイピングを行っていましたが、今回は仕事の関係で3.x系を使うことに。
|
|
3
|
+
開発環境は手元のMac book air OS X EL Capitan 10.11.3です。
|
|
3
4
|
|
|
4
5
|
python2.x系では、
|
|
5
6
|
```
|
|
@@ -48,5 +49,15 @@
|
|
|
48
49
|
Requirement already satisfied (use --upgrade to upgrade): beautifulsoup4 in /usr/local/lib/python2.7/site-packages
|
|
49
50
|
```
|
|
50
51
|
|
|
52
|
+
pip3コマンドも試してみましたが、ダメでした。
|
|
53
|
+
|
|
54
|
+
```
|
|
55
|
+
$ pip3 install beautifulsoup4
|
|
56
|
+
pyenv: pip3: command not found
|
|
57
|
+
|
|
58
|
+
The `pip3' command exists in these Python versions:
|
|
59
|
+
3.4.3
|
|
60
|
+
```
|
|
61
|
+
|
|
51
62
|
どうすれば、python3系でbeautifulsoup4が使えるようになりますでしょうか?
|
|
52
63
|
ご教授宜しくお願い申し上げます。
|