pip now comes pre-installed with Blender's python.
Installing self contained libraries will usually be a matter of doing this in cmd
python -m pip install your_library
it can be done via TextEditor too (from: nortikin/sverchok#3968 (comment) )
import sys
import os
import subprocess
def install_package(package):
if not isinstance(package, list):
package = [package]
subprocess.call([os.path.join(sys.prefix, 'bin', 'python.exe'), "-m", "pip", "install", *package])
if __name__ == '__main__':
install_package(['--upgrade', 'pip'])
install_package('some_package_name')
to install geopandas requires
gdal, shapely, fiona, numpy, pandas, matplotlib (for drawing..)
this does not work