jupyter笔记本由于“未加载库”错误而无法启动

问题描述 投票:0回答:1

Jupyter笔记本电脑始终可以正常启动。直到昨天...我尝试通过pip安装pytesseract,然后又去做其他事情,现在当我尝试启动jupyter笔记本时,这是我每一次得到的东西:

 File "/usr/local/Cellar/python3/3.6.4/Frameworks/Python.framework/Versions/3.6/lib/python3.6/ctypes/__init__.py", line 348, in __init__
self._handle = _dlopen(self._name, mode)

OSError:dlopen(/System/Library/Frameworks/Foundation.framework/Foundation,6):库未加载:/System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libGIF.dylib引用自:/System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO原因:库版本不兼容:ImageIO需要版本1.0.0或更高版本,但libGIF.dylib提供版本0.0.0

我以为我只需要pip uninstall imageio,但没有这种运气...

python jupyter-notebook python-tesseract python-imageio
1个回答
0
投票

在他们的网页中,他们指出您需要下载PIL或Pillow,而不是imageio,因此,我将尝试点安装Pillow,然后再次检查是否可以解决一般问题。指向他们的github的链接:

https://github.com/madmaze/pytesseract

先决条件:

Python-tesseract需要Python 2.7或Python 3.5 +

您将需要Python Imaging Library(PIL)(或Pillow fork)。在Debian / Ubuntu下,这是软件包python-imaging或python3-imaging。

© www.soinside.com 2019 - 2024. All rights reserved.