In PyNIDM/setup.cfg in the _install_requires_ section please add orthauth and set the version of _ontquery == 0.2.3_