質問編集履歴

3

解決済み

2016/06/12 05:59

投稿

onozeam
onozeam

スコア13

test CHANGED
File without changes
test CHANGED
File without changes

2

解決済み

2016/06/12 05:58

投稿

onozeam
onozeam

スコア13

test CHANGED
@@ -1 +1 @@
1
- python3にpipをインストールしたい
1
+ 解決済み
test CHANGED
File without changes

1

解決

2016/06/12 05:53

投稿

onozeam
onozeam

スコア13

test CHANGED
File without changes
test CHANGED
@@ -1,53 +1 @@
1
- 環境はcentos(さくらのvps)/python3.6です。
2
-
3
-
4
-
5
- `http://tech.missinglink.co.jp/2013/06/06/ec2%E4%B8%8A%E3%81%A7python3%E3%81%AB%E3%82%88%E3%82%8Bdjango%E3%82%92%E5%8B%95%E3%81%8B%E3%81%99/`
6
-
7
- ↑のサイトを参考にしながら、distributeをインストールしようとすると、↓のエラーがでてしまいました。
8
-
9
- 解決方法を教えていただけませんでしょうか?
10
-
11
-
12
-
13
- ```
14
-
15
- [username@tk2-261-40000 ~]$ wget https://pypi.python.org/packages/source/d/distribute/distribute-0.6.45.tar.gz
16
-
17
- [username@tk2-261-40000 ~]$ tar xzf distribute-0.6.45.tar.gz
18
-
19
- [username@tk2-261-40000 ~]$ sudo /usr/local/bin/python3.6 distribute-0.6.45/setup.py install
20
-
21
- [username@tk2-261-40000 ~]$ sudo /usr/local/python/bin/easy_install pip
1
+ 解決済み解決済み解決済み解決済み解決済み解決済み解決済み解決済み解決済み解決済み解決済み解決済み解決済み解決済み解決済み解決済み解決済み解決済み解決済み解決済み解決済み解決済み解決済み解決済み解決済み解決済み
22
-
23
- [username@tk2-261-40000 ~]$ sudo /usr/local/python/bin/easy_install pip
24
-
25
- sudo: /usr/local/python/bin/easy_install: コマンドが見つかりません
26
-
27
- ```
28
-
29
-
30
-
31
- なお、pythonをインストールした際のコマンドはこちらです。
32
-
33
- ```
34
-
35
- [username@tk2-261-40000 ~]$ cd /usr/local/src
36
-
37
- [username@tk2-261-40000 ~]$ sudo wget https://www.python.org/ftp/python/3.6.0/Python-3.6.0a1.tar.xz
38
-
39
- [username@tk2-261-40000 ~]$ sudo tar Jcvf Python-3.6.0a1.tar.xz
40
-
41
- [username@tk2-261-40000 ~]$ cd Python-3.6.0a1
42
-
43
- [username@tk2-261-40000 ~]$ sudo ./configure
44
-
45
- [username@tk2-261-40000 ~]$ sudo make
46
-
47
- [username@tk2-261-40000 ~]$ sudo make altinstall
48
-
49
- [usename@tk2-261-40000 ~]$ python3 --version
50
-
51
- Python 3.6.0a1
52
-
53
- ```