【转载】jupyter 安装(pip install)第三方库报错

解决:

cd/Anaconda3\Lib\site-packages
【you may need to restart the kernel to use updated packages】_路灯下的小飞侠的博客-CSDN博客
pdf获取目录(在目录完备的情况)
doc = fitz.open(path)
toc = doc.get_toc()
其他
path = open(cwd/'600004白云机场广州白云国际机场股份有限公司2020年年度报告全文.(3852k).PDF','rb') parser = PDFParser(path) document = PDFDocument(parser) # .获得文档的目录(纲要) outlines = document.get_outlines() for (level,title,dest,a,se) in outlines: print(level, title)

浙公网安备 33010602011771号