Skip to content

#installp安装成功,但#scanp报未发现插件。log有报错:Original error was: libgfortran-040039e1.so.5.0.0: failed to map segment from shared object #4

Description

@befantasy

使用docker部署,#installp命令安装,安装后又pip安装了requirements,没有任何报错。但是#scanp的时候有以下报错。

[INFO][2023-07-22 21:51:04][wechat_channel.py:190] - [WX] sendMsg=Reply(type=INFO, content=[INFO]
chatgpt-on-wechat | 安装插件成功,请使用 #scanp 命令扫描插件或重启程序,开启前请检查插件是否需要配置), receiver=@719432690bdeb6f61e9bb6e50fb91e53
chatgpt-on-wechat | [INFO][2023-07-22 21:55:28][plugin_manager.py:66] - Scaning plugins ...
chatgpt-on-wechat | [ERROR][2023-07-22 21:55:28][plugin_manager.py:91] - Failed to import plugin plugin_replicate:
chatgpt-on-wechat |
chatgpt-on-wechat | IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!
chatgpt-on-wechat |
chatgpt-on-wechat | Importing the numpy C-extensions failed. This error can happen for
chatgpt-on-wechat | many reasons, often due to issues with your setup or how NumPy was
chatgpt-on-wechat | installed.
chatgpt-on-wechat |
chatgpt-on-wechat | We have compiled some common reasons and troubleshooting tips at:
chatgpt-on-wechat |
chatgpt-on-wechat | https://numpy.org/devdocs/user/troubleshooting-importerror.html
chatgpt-on-wechat |
chatgpt-on-wechat | Please note and check the following:
chatgpt-on-wechat |
chatgpt-on-wechat | * The Python version is: Python3.10 from "/usr/local/bin/python"
chatgpt-on-wechat | * The NumPy version is: "1.24.2"
chatgpt-on-wechat |
chatgpt-on-wechat | and make sure that they are the versions you expect.
chatgpt-on-wechat | Please carefully study the documentation linked above for further help.
chatgpt-on-wechat |
chatgpt-on-wechat | Original error was: libgfortran-040039e1.so.5.0.0: failed to map segment from shared object
chatgpt-on-wechat | Traceback (most recent call last):
chatgpt-on-wechat | File "/usr/local/lib/python3.10/site-packages/numpy/core/init.py", line 23, in
chatgpt-on-wechat | from . import multiarray
chatgpt-on-wechat | File "/usr/local/lib/python3.10/site-packages/numpy/core/multiarray.py", line 10, in
chatgpt-on-wechat | from . import overrides
chatgpt-on-wechat | File "/usr/local/lib/python3.10/site-packages/numpy/core/overrides.py", line 6, in
chatgpt-on-wechat | from numpy.core._multiarray_umath import (
chatgpt-on-wechat | ImportError: libgfortran-040039e1.so.5.0.0: failed to map segment from shared object
chatgpt-on-wechat |
chatgpt-on-wechat | During handling of the above exception, another exception occurred:
chatgpt-on-wechat |
chatgpt-on-wechat | Traceback (most recent call last):
chatgpt-on-wechat | File "/app/plugins/plugin_manager.py", line 88, in scan_plugins
chatgpt-on-wechat | self.loaded[plugin_path] = importlib.import_module(import_path)
chatgpt-on-wechat | File "/usr/local/lib/python3.10/importlib/init.py", line 126, in import_module
chatgpt-on-wechat | return _bootstrap._gcd_import(name[level:], package, level)
chatgpt-on-wechat | File "", line 1050, in _gcd_import
chatgpt-on-wechat | File "", line 1027, in _find_and_load
chatgpt-on-wechat | File "", line 1006, in _find_and_load_unlocked
chatgpt-on-wechat | File "", line 688, in _load_unlocked
chatgpt-on-wechat | File "", line 883, in exec_module
chatgpt-on-wechat | File "", line 241, in _call_with_frames_removed
chatgpt-on-wechat | File "/app/plugins/plugin_replicate/init.py", line 1, in
chatgpt-on-wechat | from .main import *
chatgpt-on-wechat | File "/app/plugins/plugin_replicate/main.py", line 4, in
chatgpt-on-wechat | import langid
chatgpt-on-wechat | File "/usr/local/lib/python3.10/site-packages/langid/init.py", line 1, in
chatgpt-on-wechat | from .langid import classify, rank, set_languages
chatgpt-on-wechat | File "/usr/local/lib/python3.10/site-packages/langid/langid.py", line 57, in
chatgpt-on-wechat | import numpy as np
chatgpt-on-wechat | File "/usr/local/lib/python3.10/site-packages/numpy/init.py", line 141, in
chatgpt-on-wechat | from . import core
chatgpt-on-wechat | File "/usr/local/lib/python3.10/site-packages/numpy/core/init.py", line 49, in
chatgpt-on-wechat | raise ImportError(msg)
chatgpt-on-wechat | ImportError:
chatgpt-on-wechat |
chatgpt-on-wechat | IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!
chatgpt-on-wechat |
chatgpt-on-wechat | Importing the numpy C-extensions failed. This error can happen for
chatgpt-on-wechat | many reasons, often due to issues with your setup or how NumPy was
chatgpt-on-wechat | installed.
chatgpt-on-wechat |
chatgpt-on-wechat | We have compiled some common reasons and troubleshooting tips at:
chatgpt-on-wechat |
chatgpt-on-wechat | https://numpy.org/devdocs/user/troubleshooting-importerror.html
chatgpt-on-wechat |
chatgpt-on-wechat | Please note and check the following:
chatgpt-on-wechat |
chatgpt-on-wechat | * The Python version is: Python3.10 from "/usr/local/bin/python"
chatgpt-on-wechat | * The NumPy version is: "1.24.2"
chatgpt-on-wechat |
chatgpt-on-wechat | and make sure that they are the versions you expect.
chatgpt-on-wechat | Please carefully study the documentation linked above for further help.
chatgpt-on-wechat |
chatgpt-on-wechat | Original error was: libgfortran-040039e1.so.5.0.0: failed to map segment from shared object
chatgpt-on-wechat |
chatgpt-on-wechat | [INFO][2023-07-22 21:55:29][wechat_channel.py:190] - [WX] sendMsg=Reply(type=INFO, content=[INFO]
chatgpt-on-wechat | 插件扫描完成, 未发现新插件), receiver=@719432690bdeb6f61e9bb6e50fb91e53

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions