After installing LightFM library through the second way:
%%bash
echo "pip install lightfm" >> /content/datalab/.config/startup.sh
cat /content/datalab/.config/startup.sh
I cannot connect to datalab instance using datalab connect command.
In the log files I see that datalab each time tries to install LightFM and finally breakimg down with error:
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/
I think the deletion of the instance would not help. How can I solve this? Thank you