The shell script `bin/pysparkling` can check python session and exit directly if some packages are missing and print message proposing to install missing packages.
For detection of environment, the script can use:
1) `pip list`, or
2) a tiny python command which will do:
Good point, will do!