Centos 6
    python3.6.0 提示 ModuleNotFoundError: No module named ‘_ssl’ 模块问题 ;
    检测 系统 安装 OpenSSL

    1. 国内 163 yum 源挺好用 (中科大的也不错)
    2. http://mirrors.163.com/.help/CentOS6-Base-163.repo
    3. yum install openssl-devel bzip2-devel expat-devel gdbm-devel readline-devel sqlite-devel gcc gcc-c++ openssl-devel

    然后 重新编译 python

    1. ~ python/Modules/Setup.dist

    重新编译

    1. ./configure --prefix=/usr/local/python
    2. make
    3. make install

    python3.6.0

    1. Python 3.6.0 (default, Nov 30 2018, 15:04:54)
    2. [GCC 4.4.7 20120313 (Red Hat 4.4.7-16)] on linux
    3. Type "help", "copyright", "credits" or "license" for more information.
    4. >>> import ssl
    5. >>>
    6. Use quit() or Ctrl-D (i.e. EOF) to exit

    import ssl 没有提示,验证正常。