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

質問編集履歴

2

エラーのs詳細を記載しました。

2020/05/21 07:01

投稿

raspypy
raspypy

スコア247

title CHANGED
File without changes
body CHANGED
@@ -12,11 +12,16 @@
12
12
  ##教えてほしいこと
13
13
  **~$ pyenv install x.x.x**を実行するとエラーが発生します。
14
14
  ```text
15
+ /tmp/python-build.20200521153940.1603 ~
15
16
  Downloading Python-3.7.6.tar.xz...
16
17
  -> https://www.python.org/ftp/python/3.7.6/Python-3.7.6.tar.xz
18
+ curl: (60) SSL certificate problem: unable to get local issuer certificate
19
+ More details here: https://curl.haxx.se/docs/sslcerts.html
20
+
21
+ curl failed to verify the legitimacy of the server and therefore could not
22
+ establish a secure connection to it. To learn more about this situation and
23
+ how to fix it, please visit the web page mentioned above.
17
24
  error: failed to download Python-3.7.6.tar.xz
18
-
19
- BUILD FAILED (Raspbian 10 using python-build 1.2.18-17-g2c32a6be)
20
25
  ```
21
26
  **~https_proxy=http://proxy.xxx.co.jp:8080 pyenv install 3.7.6**としても同じエラーが発生します。
22
27
 

1

質問内容を変更しました。

2020/05/21 07:01

投稿

raspypy
raspypy

スコア247

title CHANGED
@@ -1,1 +1,1 @@
1
- ラズパイ pyenvでバージョ管理
1
+ ラズパイ pyenvストールエラー
body CHANGED
@@ -6,16 +6,19 @@
6
6
  Python2.7.16
7
7
  Python3.7.3
8
8
  デフォルトはPython2.7.16となっていますが、
9
- 用意にバージョンを切り替えるため、pyenvをインストールしました
9
+ 用意にバージョンを切り替えるため、pyenvをインストールしましたが、
10
+ pyenvを使用してpythonのインストールができずにこまっています。
10
11
 
11
12
  ##教えてほしいこと
12
- 0. すすめのPython version
13
+ **~$ pyenv install x.x.x**を実行るとエラーが発生しま
14
+ ```text
13
- pyenvでインストール可能なPythonのバージョンを表示させると、
15
+ Downloading Python-3.7.6.tar.xz...
14
- いろんなバージョンがありました。
16
+ -> https://www.python.org/ftp/python/3.7.6/Python-3.7.6.tar.xz
15
- Raspberry Piのsystemには、Python3.7.3がインストールされているのですが、
17
+ error: failed to download Python-3.7.6.tar.xz
16
- Python3系をpyenvでインストールする場合は、最新のPython3.8.3をインストールすべきでしょうか。
17
- それとも、ほかにおすすめのバージョンがありましたら教えてください。
18
18
 
19
- 0. Raspberry Piと同じバージョンをインストール
20
- pyenvで、Raspberry PiにインストールされているPython3.7.3をインストールすることは可能でしょうか。
19
+ BUILD FAILED (Raspbian 10 using python-build 1.2.18-17-g2c32a6be)
20
+ ```
21
+ **~https_proxy=http://proxy.xxx.co.jp:8080 pyenv install 3.7.6**としても同じエラーが発生します。
22
+
23
+ エラーの原因が分からず困っています。
21
- 何か問題ありますでしょうか。
24
+ 教えていただけないでしょうか。