zeroc-ice import problems
Posted: Tue Feb 18, 2020 3:54 am
For right now I'm just trying to use the zeroc-ice package to manage some things in a mumble server. Scripts work fine when everything is run outside the plugin however I can't Ice to import from the plugin. I installed the package to source-python/packages/site-packages/ with the --target option in pip.
Import Ice in my plugin returns:
Most other packages I've tried have imported properly. I don't see an IcePy py file, folder or any mention besides an import anywhere else in these files or anything anywhere in the package, however I do see 'IcePy.cpython-35m-x86_64-linux-gnu. so which seems like something I should look at. I don't know what I'm missing or where to look so even a point in the right direction would be really appreciated.
Import Ice in my plugin returns:
Code: Select all
SP] Caught an Exception:
Traceback (most recent call last):
File "../addons/source-python/packages/source-python/plugins/command.py", line 162, in load_plugin
plugin = self.manager.load(plugin_name)
File "../addons/source-python/packages/source-python/plugins/manager.py", line 194, in load
plugin._load()
File "../addons/source-python/packages/source-python/plugins/instance.py", line 74, in _load
self.module = import_module(self.import_name)
File "../addons/source-python/plugins/murmurtest/murmurtest.py", line 3, in <module>
import Ice
File "../addons/source-python/packages/site-packages/Ice/__init__.py", line 42, in <module>
import IcePy
Most other packages I've tried have imported properly. I don't see an IcePy py file, folder or any mention besides an import anywhere else in these files or anything anywhere in the package, however I do see 'IcePy.cpython-35m-x86_64-linux-gnu. so which seems like something I should look at. I don't know what I'm missing or where to look so even a point in the right direction would be really appreciated.