Help us understand the problem. What is going on with this article?

Fedora26でpyenvを使ってPython入れようとしたら失敗した"ERROR: The Python ssl extension was not compiled. Missing the OpenSSL lib?"

More than 3 years have passed since last update.

概要

Fedora26でpyenvを使ってPython3.3系をインストールしようとしたら失敗した。

エラーメッセージ

ERROR: The Python ssl extension was not compiled. Missing the OpenSSL lib?

解決策

dnf remove openssl-devel

dnf install compat-openssl10-devel

補足

エラーメッセージに一応解決策が書かれていたが、

Please consult to the Wiki page to fix the problem.
https://github.com/pyenv/pyenv/wiki/Common-build-problems

https://github.com/pyenv/pyenv/wiki/Common-build-problems

上記のサイトに書かれている解決策を試してもできなかったので、調べて本記事を投稿

参考サイト

https://github.com/pyenv/pyenv/issues/950

I found a solution to my problem. (Fedora 26)
Uninstall:
$ dnf remove openssl-devel

Install:
$ dnf install compat-openssl10-devel

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away