插件安装成功后在插件列表找不到,在docker容器中文件是已经下载下来了
我也是同样问题
我用docker安装的CoW,我以为是我哪里没弄对呢!看来大家都遇到了这个问题……重新安装时就提示目录已经存在,要卸载时又说找不到插件,陷入了死循环……
还没解决吗,我也是这样
插件需要配置文件,你们按照cow的要求挂载插件的配置文件了吗?
同样问题,已挂载插件的配置文件
[WARNING][2024-11-03 19:02:50][plugin_manager.py:113] - Failed to import plugin sum4all: No module named 'docx'
same issue https://github.com/fatwang2/sum4all/issues/75 https://github.com/fatwang2/sum4all/issues/61 https://github.com/fatwang2/sum4all/issues/88
#installp https://github.com/fatwang2/sum4all.git
的 log:
WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.
Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue.
To avoid this problem you can invoke Python with '-m pip' instead of running pip directly.
Collecting python-docx (from -r ./plugins/sum4all/requirements.txt (line 1))
Downloading python_docx-1.1.2-py3-none-any.whl.metadata (2.0 kB)
Collecting markdown (from -r ./plugins/sum4all/requirements.txt (line 2))
Downloading Markdown-3.7-py3-none-any.whl.metadata (7.0 kB)
Collecting PyMuPDF (from -r ./plugins/sum4all/requirements.txt (line 3))
Downloading PyMuPDF-1.24.13-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.metadata (3.4 kB)
Collecting openpyxl (from -r ./plugins/sum4all/requirements.txt (line 4))
Downloading openpyxl-3.1.5-py2.py3-none-any.whl.metadata (2.5 kB)
Requirement already satisfied: beautifulsoup4 in /usr/local/lib/python3.10/site-packages (from -r ./plugins/sum4all/requirements.txt (line 5)) (4.12.3)
Collecting python-pptx (from -r ./plugins/sum4all/requirements.txt (line 6))
Downloading python_pptx-1.0.2-py3-none-any.whl.metadata (2.5 kB)
Requirement already satisfied: Pillow in /usr/local/lib/python3.10/site-packages (from -r ./plugins/sum4all/requirements.txt (line 7)) (11.0.0)
Requirement already satisfied: lxml>=3.1.0 in /usr/local/lib/python3.10/site-packages (from python-docx->-r ./plugins/sum4all/requirements.txt (line 1)) (5.3.0)
Requirement already satisfied: typing-extensions>=4.9.0 in /usr/local/lib/python3.10/site-packages (from python-docx->-r ./plugins/sum4all/requirements.txt (line 1)) (4.12.2)
Collecting et-xmlfile (from openpyxl->-r ./plugins/sum4all/requirements.txt (line 4))
Downloading et_xmlfile-2.0.0-py3-none-any.whl.metadata (2.7 kB)
Requirement already satisfied: soupsieve>1.2 in /usr/local/lib/python3.10/site-packages (from beautifulsoup4->-r ./plugins/sum4all/requirements.txt (line 5)) (2.6)
Collecting XlsxWriter>=0.5.7 (from python-pptx->-r ./plugins/sum4all/requirements.txt (line 6))
Downloading XlsxWriter-3.2.0-py3-none-any.whl.metadata (2.6 kB)
Downloading python_docx-1.1.2-py3-none-any.whl (244 kB)
Downloading Markdown-3.7-py3-none-any.whl (106 kB)
Downloading PyMuPDF-1.24.13-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (19.8 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 19.8/19.8 MB 22.8 MB/s eta 0:00:00
Downloading openpyxl-3.1.5-py2.py3-none-any.whl (250 kB)
Downloading python_pptx-1.0.2-py3-none-any.whl (472 kB)
Downloading XlsxWriter-3.2.0-py3-none-any.whl (159 kB)
Downloading et_xmlfile-2.0.0-py3-none-any.whl (18 kB)
Installing collected packages: XlsxWriter, python-docx, PyMuPDF, markdown, et-xmlfile, python-pptx, openpyxl
ERROR: Could not install packages due to an OSError: [Errno 13] Permission denied: '/usr/local/bin/vba_extract.py'
Consider using the `--user` option or check the permissions.
问题就出在 Permission denied: '/usr/local/bin/vba_extract.py' python-docx 依赖安装失败,权限不够。
解决方案
- 发送安装插件命令后,连上容器终端,执行:
pip install --user -r /app/plugins/sum4all/requirements.txt
- 重启容器,问题解决。
谢谢老哥