LoginSignup
0

More than 5 years have passed since last update.

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

Posted at

概要

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

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

参考サイト

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

Install:
$ dnf install compat-openssl10-devel

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0