When trying to use Numberjack as a dependency for a python package on mac os, I get the following below. I also get the same error in a python console when trying:
import Numberjack.solvers.Mistral
Traceback (most recent call last):
File "/opt/anaconda3/envs/env_test3/lib/python3.7/site-packages/Numberjack/solvers/Mistral.py", line 18, in swig_import_helper
fp, pathname, description = imp.find_module('_Mistral', [dirname(__file__)])
File "/opt/anaconda3/envs/env_test3/lib/python3.7/imp.py", line 296, in find_module
raise ImportError(_ERR_MSG.format(name), name=name)
ImportError: No module named '_Mistral'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/anaconda3/envs/env_test3/lib/python3.7/site-packages/Numberjack/__init__.py", line 910, in load
lib = __import__(solverstring, fromlist=[solverspkg])
File "/Applications/PyCharm CE.app/Contents/plugins/python-ce/helpers/pydev/_pydev_bundle/pydev_import_hook.py", line 21, in do_import
module = self._system_import(name, *args, **kwargs)
File "/opt/anaconda3/envs/env_test3/lib/python3.7/site-packages/Numberjack/solvers/Mistral.py", line 28, in <module>
_Mistral = swig_import_helper()
File "/opt/anaconda3/envs/env_test3/lib/python3.7/site-packages/Numberjack/solvers/Mistral.py", line 20, in swig_import_helper
import _Mistral
File "/Applications/PyCharm CE.app/Contents/plugins/python-ce/helpers/pydev/_pydev_bundle/pydev_import_hook.py", line 21, in do_import
module = self._system_import(name, *args, **kwargs)
ModuleNotFoundError: No module named '_Mistral'
When trying to use Numberjack as a dependency for a python package on mac os, I get the following below. I also get the same error in a python console when trying:
import Numberjack.solvers.Mistral