linux安装uwsgi,报错问题解决

uwsgi安装

  1.  uwsgi启动后出 -- unavailable modifier requested: 0
    1. 出现问题的的原因是找不到python的解释器(其他语言同理)
    2. 你使用的yum install uwsgi 或者 apt-get install uwsgi 安装了uwsgi(我就是这样遇到了这个问题)
  2. 解决办法
    1. 用 pip install uwsgi  或者 pip3 install uwsgi  安装uwsgi(uwsgi默认安装在/usr/local/python3/bin/)
    2. 实行 In -s /usr/local/python3/bin/uwsgi   /usr/bin/uwsgi   (建立软连接)
    3. 重新启动uwsgi完成

原文地址:https://www.cnblogs.com/taozhengquan/p/11356342.html

时间: 2024-10-10 23:08:15

linux安装uwsgi,报错问题解决的相关文章

linux安装软件报错: Can't locate ExtUtils/Embed.pm in @INC...

安装snmp服务, 中间报错: Can't locate ExtUtils/Embed.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .).BEGIN failed--compilation aborted. 到网上

Windows Essentials Movie Maker 安装失败报错 ——问题解决

Windows Essentials Movie Maker 安装失败报错: (软件包名: wlsetup-all.exe) 查到官方论坛给出了一些回复: https://social.technet.microsoft.com/Forums/windows/en-US/583637d8-434d-4fb6-9abd-b86820cd96dc/unable-to-install-windows-live-2012-into-windows-10-amp-windows-81error0x800c

Linux安装Apache报错:Cannot find a valid baseurl for repo: base/7/x86_64解决方案

最近使用CentOS7学习,安装安装Apache时候,使用yum安装Apache报错:本文适合CentOS7和RHEL7 # yum install httpd 出现:cannot find a valid baseurl for repo:base/7/x86_64. 针对这个问题,网上有大量的解决方案,说是网络不通的,比如: 修改: vi /etc/sysconfig/network-scripts/ifcfg-eth0(每个机子都可能不一样,但格式会是"ifcfg-eth数字")

[Python] Windows上通过pip安装uwsgi报错

错误提示: AttributeError: module 'os' has no attribute 'uname' 原因: 因为os.uname()是linux的方法,在window上不可用,platform模块则支持任何系统 解决办法: 下载uwsgi离线安装 1.https://pypi.python.org/pypi/uWSGI/下载你想要的uwsgi 压缩文件 2.在你需要用它的python文件的site-packages文件中解压缩 3.找到uwsgiconfig.py配置文件 4.

安装scrapy报错问题解决

今天在安装scrapy时候,最后一步出现下面报错(操作系统为centerOS 6.4) error: Setup script exited with error: command 'gcc' failed with exit status 1 原因是由于系统中缺少几个模块,执行下列命令,问题解决: yum install openssl-devel python-devel python-sphinx yum install gcc libffi-devel python-devel open

Ubuntu pip3安装uwsgi报错

笔者在ubuntu16.04使用pip3安装uwsgi时报错了,报错信息如下 [email protected]:~$ sudo pip3 ×××tall uwsgi The directory '/home/leslie/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions an

linux安装yasm报错

进入yasm-1.2.0, 输入指令 ./configure //编译yasm make && make install //安装yasm,安装完成即可. 报错信息 make[2]: Leaving directory '/home/star-net/srs/trunk/3rdparty/yasm-1.2.0/po' Making install in . make[2]: Entering directory '/home/star-net/srs/trunk/3rdparty/yasm

vritulbox中linux安装zookeeper报错:

[[email protected] apache-zookeeper]# bin/zkCli.sh /usr/bin/java Connecting to localhost:2181 2020-03-11 00:35:15,540 [myid:] - INFO [main:Enviro[email protected]] - Client environment:zookeeper.version=3.5.7-f0fdd52973d373ffd9c86b81d99842dc2c7f660e,

linux安装pip报错

解决方法:升级pip工具 1 sudo python -m pip install -U pip