🌱
How to use the pip on the Kaggle notebook in offline env.
1. Objective
Use "pip install" in an offline environment like Kaggle's inference.
2. How
2.1 Download
mkdir astropy_offline
cd astropy_offline
pip download astropy
2.2 Install from Offline
Install with specifying the downloaded directory.
pip install --no-index --find-links=/home/user/astropy_offline astropy
It's done, enjoy the coding!
Discussion