问题描述
我在 conda 的虚拟环境中安装了“pdfminer”。
我使用以下命令安装并重新安装了库:
conda install -c conda-forge pdfminer
conda install -c conda-forge/label/cf201901 pdfminer
conda install -c conda-forge/label/cf202003 pdfminer
我一直遇到同样的错误。是这样的:
/home/hamza/anaconda3/envs/my/bin/python /home/hamza/PycharmProjects/practice/pdf_info.py
20191125
Traceback (most recent call last):
File "/home/hamza/PycharmProjects/practice/pdf_info.py",line 67,in <module>
from pdfminer.high_level import extract_text
File "/home/hamza/anaconda3/envs/my/lib/python3.7/site-packages/pdfminer/high_level.py",line 14,in <module>
from .utils import open_filename
ImportError: cannot import name 'open_filename' from 'pdfminer.utils' (/home/hamza/anaconda3/envs/my/lib/python3.7/site-packages/pdfminer/utils.py)
Process finished with exit code 1
有没有其他方法可以安装这个库或者我们可以做些什么来解决这个错误
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)