後來發現是llvmlite卡住了....
[error]
Failed building wheel for llvmlite
----------------------------------------
Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-f6srimn0/llvmlite/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-jf40ng7f/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /tmp/pip-install-f6srimn0/llvmlite/
[sol]
後來在這邊看到
https://raspberrypi.stackexchange.com/questions/111697/unable-to-pip-install-librosa-in-raspberry-pi-3-model-b-raspbian-stretch先去裝llvm:
sudo apt install llvm
然後查路徑
which llvm-config
在pip3前面加上環境變數
LLVM_CONFIG=/usr/bin/llvm-config pip3 install llvmlite
然後就可以了!!!!
沒有留言:
張貼留言