質問編集履歴
1
Markdownを使用し見やすくしました。
    
        title	
    CHANGED
    
    | 
         
            File without changes
         
     | 
    
        body	
    CHANGED
    
    | 
         @@ -1,5 +1,5 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            以下の質問の続きになります。
         
     | 
| 
       2 
     | 
    
         
            -
            https://teratail.com/questions/124396
         
     | 
| 
      
 2 
     | 
    
         
            +
            [質問](https://teratail.com/questions/124396)
         
     | 
| 
       3 
3 
     | 
    
         | 
| 
       4 
4 
     | 
    
         
             
            makeコマンドを実行したのですが、以下のエラーが発生しました。
         
     | 
| 
       5 
5 
     | 
    
         | 
| 
         @@ -20,7 +20,7 @@ 
     | 
|
| 
       20 
20 
     | 
    
         
             
            ```
         
     | 
| 
       21 
21 
     | 
    
         | 
| 
       22 
22 
     | 
    
         
             
            以下の公式ドキュメントを読んだところpython-develがインストールされていないことが原因と考えられたためインストールしようと思うのですが、EC2内のpython-develパッケージのバージョンが2.7になっています。
         
     | 
| 
       23 
     | 
    
         
            -
            http://modwsgi.readthedocs.io/en/develop/user-guides/installation-issues.html#missing-python-header-files
         
     | 
| 
      
 23 
     | 
    
         
            +
            [参考](http://modwsgi.readthedocs.io/en/develop/user-guides/installation-issues.html#missing-python-header-files)
         
     | 
| 
       24 
24 
     | 
    
         
             
            ```
         
     | 
| 
       25 
25 
     | 
    
         
             
            [ec2-user@ip-xxx ~]$ yum list python-devel
         
     | 
| 
       26 
26 
     | 
    
         
             
            Loaded plugins: langpacks, priorities, update-motd
         
     | 
| 
         @@ -30,6 +30,6 @@ 
     | 
|
| 
       30 
30 
     | 
    
         | 
| 
       31 
31 
     | 
    
         
             
            今回使用しているPythonのバージョンは3.6.5なのでPython-develのバージョンも同じものにすべきと考えています。
         
     | 
| 
       32 
32 
     | 
    
         
             
            以下の公式サイトからpython-develからパッケージをダウンロードしようと思ったのですが、見当たりませんでした。
         
     | 
| 
       33 
     | 
    
         
            -
            https://www.python.org/ftp/python/3.6.5/
         
     | 
| 
      
 33 
     | 
    
         
            +
            [公式サイト](https://www.python.org/ftp/python/3.6.5/)
         
     | 
| 
       34 
34 
     | 
    
         | 
| 
       35 
35 
     | 
    
         
             
            python-devel 3.6.5をインストールするにはどうすればいいでしょうか。
         
     |