无法加载uWSGI plugin:。/python3_plugin.so:无法打开共享对象文件:没有这样的文件或目录

2024-06-07 07:23:27 发布

您现在位置:Python中文网/ 问答频道 /正文

在我的Fedora工作站上,我发现这个错误:

!!! UNABLE to load uWSGI plugin: ./python3_plugin.so: cannot open shared object file: No such file or directory !!!

但在服务器(CentOS Linux)上运行良好。

为了解决这个问题,我需要在我的uwsgi.in I文件中这样说

plugins-dir = /usr/lib64/uwsgi/
plugins = python3

但在服务器上,我可以这样做:

plugins = python3

在我的工作站上,我使用dnf卸载/重新安装了uwsgi。我确实在/usr/lib64/uwsgi文件夹中安装了python插件。它来自dnf install uwsgi-plugin-python3

我很困惑。


Tags: to服务器usr错误pluginsloadpluginuwsgi