存档

文章标签 ‘python’

python2.7 安装 pip

2020年9月5日 没有评论

/usr/local/bin/pip: bad interpreter: /usr/local/opt/python3/bin/python3.5 可能是由于我装了两个版本的 python,导致 pip 不能使用。 我想用的是 python2.7 安装软件包 执行如下命令重新安装 pip: curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py 1 curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py python get-pip.py 1 p...

分类: 编程语言 标签: ,

nginx uWSGI Django python运行环境安装和配置

2015年2月8日 1 条评论

uWSGI is a fast (pure C), self-healing, developer/sysadmin-friendly application container server.”, it utilizes the uwsgi protocol (notice the all-lowercase spelling), and supports WSGI applications served from it. 上面这段文字是uWSGI的官方定义。 uWSGI是一个快速(纯C的)、自维护、对开发管理人员友好的应用容器。它使用uwsgi协议(小写定义),支持WSGI应用运行在它上面。 uwsgi安装 yum install python python-devel libxml2 libxml2-devel python-setuptools zlib-devel wget openss...

分类: nginx 标签: ,