浙江省高等学校教师教育理论培训

微信搜索“毛凌志岗前心得”小程序

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

python - ImportError: No module named http.cookies error when installing cherrypy 3.2 - Stack Overflow

You need SSL support.

  • on ubuntu: sudo apt-get install libssl-dev.
  • on centos: yum install openssl-devel.
  • open python-path/Modules/Setup.dist, uncomment the SSL related content (make sure the SSL variable points to your SSL installation path).
  • recompile python, ./configure --enable-ssl & make & make install.
posted on 2013-08-28 15:14  lexus  阅读(1260)  评论(0编辑  收藏  举报