通過第二種方式安裝LightFM庫後後,谷歌雲datalab:無法連接安裝Python庫
%%bash
echo "pip install lightfm" >> /content/datalab/.config/startup.sh
cat /content/datalab/.config/startup.sh
我無法連接到使用 datalab連接命令datalab實例。
在日誌文件中我看到,每次datalab嘗試安裝LightFM最後breakimg下來錯誤:
Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-_irDy2/lightfm/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-0GIvgP-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-_irDy2/lightfm/
我認爲實例的缺失不會幫助。我該如何解決這個問題? 謝謝
非常感謝你! –