We tend to need python modules developed by the community for use in our own python code. To install python modules we need a pip package that would integrate with the python bundled with blender package.
This video shows how to do that:
- Get Pip with the python binary that came with blender: https://blender.stackexchange.com/questions/56011/how-to-install-pip-for-blenders-bundled-python :
python -m ensurepip --upgrade
- Install your python module with this newly installed pip