I've created a script called pip-mark-installed
to manually mark a package as installed for pip:
pip install pip-mark-installed
pip-mark-installed openbabel
The script creates the necessary .dist-info
directory structure and metadata files that pip uses to determine if a package is installed.