Error message:
Code: Select all
sp load apdm
[SP] Loading plugin 'apdm'...
[SP] Caught an Exception:
Traceback (most recent call last):
AttributeError: 'module' object has no attribute '__path__'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File '../addons/source-python/packages/source-python/plugins/manager.py', line 71, in __missing__
instance = self.instance(plugin_name, self.base_import)
File '../addons/source-python/packages/source-python/plugins/instance.py', line 82, in __init__
self._plugin = import_module(import_name)
ImportError: No module named 'apdm.apdm'; 'apdm' is not a package
Plugin Code:
Code: Select all
def load():
print('Plugin has been loaded successfully!')
def unload():
print('Plugin has been unloaded successfully!')
Current Source.Python version: 252
Followed the installation steps and everything seems to have gone swimmingly there. Have made sure all file permissions are good. Have tried searching, but didn't see any other instance of this error.
Thanks in advance!
EDIT: I forgot to mention the game is HL2MP running on Debian 7.9/WHeezy on a VPS that I would presume to be para-virtualized.