我在Google Colab中无法安装textract
,错误信息如下。
有些人建议使用sudo apt-get install libasound2-dev
,但在Google Colab中如何执行sudo...
?
=== 错误消息 ==========================================================
为了pocketsphinx构建失败 运行pocketsphinx的setup.py无法为pocketsphinx 构建轮子 安装收集的包:pocketsphinx 正在运行pocketsphinx的setup.py install ...error Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;file='/tmp/pip-install-03c_ysbm/pocketsphinx/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-record-6n9ewg9i/install-record.txt --single-version-externally-managed --compile: running install running build_ext building 'sphinxbase._sphinxbase' extension swigging deps/sphinxbase/swig/sphinxbase.i to deps/sphinxbase/swig/sphinxbase_wrap.c swig -python -modern -threads -Ideps/sphinxbase/include -Ideps/sphinxbase/include/sphinxbase -Ideps/sphinxbase/include/android -Ideps/sphinxbase/swig -outdir sphinxbase -o deps/sphinxbase/swig/sphinxbase_wrap.c deps/sphinxbase/swig/sphinxbase.i unable to execute 'swig': No such file or directory error: command 'swig' failed with exit status 1
=========================================================================== 谢谢, Ling