I have no idea how you tried doing it, sounds to advanced for me.
I simply go into my Joomla control panel, go to Installer > Mambots > use the browse to find the plugin in your computer > Click upload and Install.
Then, go to Mambots > Site Mambots > Find the plugin and publish it.
It only takes seconds to install. It's the same way, and only way, I know how to install components, modules and mambots.