我一直在嘗試從 pip 安裝后運行 Excalibur,它要求我安裝 Camelot,然后彈出此錯誤,
Traceback (most recent call last):
File "/usr/lib/python3.9/runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.9/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/home/dev/.local/lib/python3.9/site-packages/excalibur/__main__.py", line 16, in <module>
main()
File "/home/dev/.local/lib/python3.9/site-packages/excalibur/__main__.py", line 10, in main
from excalibur.cli import cli
File "/home/dev/.local/lib/python3.9/site-packages/excalibur/cli.py", line 10, in <module>
from .tasks import split, extract
File "/home/dev/.local/lib/python3.9/site-packages/excalibur/tasks.py", line 13, in <module>
from camelot.ext.ghostscript import Ghostscript
ModuleNotFoundError: No module named 'camelot.ext'
這個輸出顯示當我嘗試運行這個模型、initdb 或 webserver 命令時,我嘗試了很多方法來解決什么都不適合我
uj5u.com熱心網友回復:
嘗試這個
pip install camelot-py
uj5u.com熱心網友回復:
您可以嘗試使用 conda 安裝:
conda install -c conda-forge camelot-py
官方安裝檔案:https : //camelot-py.readthedocs.io/en/master/user/install.html#install
此外,您應該檢查 python 的路徑是否設定正確。
轉載請註明出處,本文鏈接:https://www.uj5u.com/houduan/337910.html
標籤:Python 蟒蛇-3.x python-camelot 神剑
上一篇:KeyError:'一個或多個行標簽未找到'>>查找pythonpandas
下一篇:如何從字典內的陣列中檢索專案?
