首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 其他教程 > 互联网 >

用Django做第一个app出现的有关问题和解决方法

2013-08-01 
用Django做第一个app出现的问题和解决办法1、install pipthe way to fix1、install openssl if there are no

用Django做第一个app出现的问题和解决办法
1、install pip



the way to fix
  1、install openssl if there are no /usr/local/ssl 
        download the openssl ,
         ./configure
          make
          make install
  2、 reinstall python2.7.2 from source package ,but you need uncomment below lines before install
          Modules/Setup.dist

# Socket module helper for SSL support; you must comment out the other# socket line above, and possibly edit the SSL variable:SSL=/usr/local/ssl_ssl _ssl.c \    -DUSE_SSL -I$(SSL)/include -I$(SSL)/include/openssl \    -L$(SSL)/lib -lssl -lcrypto



cd python-source-dir
         ./confiugre
         make
         make install
         ln -s /usr/local/bin/python2.7 /usr/bin/python

热点排行