我最近尝试librosa使用pip install librosa. 尽管如此,还是出现了这个错误:
无法卸载 'llvmlite'。这是一个 distutils 安装的项目,因此我们无法准确确定哪些文件属于它,这只会导致部分卸载。
作为解决方案,我已执行conda update --all, 和conda install numba=0.39.0,但没有任何改进。
先谢谢了。
我有以下简单的代码:
import textract
text = textract.process("text.pdf")
Run Code Online (Sandbox Code Playgroud)
但是,我收到以下错误:
FileNotFoundError: [WinError 2] The system cannot find the file specified
Run Code Online (Sandbox Code Playgroud)
但我确信我text.pdf在当前目录中有一个名为的文件。尽管如此,如果我创建一个名为的文档a.txt并将代码的第二行更改为:
text = textract.process("a.txt", extension='txt')
Run Code Online (Sandbox Code Playgroud)
然后问题就消失了。我也尝试过:
text = textract.process("text.pdf", extension='pdf')
Run Code Online (Sandbox Code Playgroud)
但我遇到了和以前一样的错误。
预先感谢您的帮助。