The code sharing repl.it has a python interpreter, and proudly hails that any library is available for import.
This does include the GDAL library. However, the typical GDAL installation experience, to the best of my knowledge, involves
1. installing drivers,
2. setting environment variables
3. AND THEN installing GDAL.
Sequences like this have been discussed in this related question: Python GDAL package missing header file when installing via pip
Given these extra shell requirements, is it impossible to install GDAL from a python interpreter alone, as seems to be required for the available repl.it interface? Or is there a way to make this happen from within python?