pythonica
pythonica copied to clipboard
error return without exception set
Hi, your module is very nice and I would like to try your mathematica magic at ipython.
Currently I have a problem in using Pythonica.
I have the following error.
In [1]: import pythonica
In [2]: m = pythonica.Pythonica()
SystemError Traceback (most recent call last)
/media/Data/DataHome/workspace/python/src/pythonica/pythonica.pyc in init(self, name, mode, timeout, debug, plot_dir, plot_size, plot_format, output_prompt, input_prompt) 222 output_prompt=False, 223 input_prompt=False): --> 224 self._env = _ml.env() 225 self.kernel = self._env.open(name,mode=mode) 226 self.kernel.connect()
SystemError: error return without exception set
Did I miss any setup?
Many thanks. Jason
It's tough to say. I don't have this setup on my current machine and Mathematica 10.1 seems to have changed how the python mathlink is installed.
Can you give me some more information? What platform are you on? Which setup steps did you follow to get mathlink installed?
Can you
import mathlink
?
Hi Ben,
Thank you for your reply. I figured out the problem.
My setup is 10.1 + Ubuntu + CPython 2.7.
And I attempted to compile mathlink as MLINTERFACE 4 ( and I migrated all those api, say MLDisownString to MLReleaseString to let it compile. But it turns out not working
Once I change it back to MLINTERFACE 3, it works now.
Many thanks! Regard, Jason
2015-07-03 1:36 GMT+08:00 Ben Edwards [email protected]:
It's tough to say. I don't have this setup on my current machine and Mathematica 10.1 seems to have changed how the python mathlink is installed.
Can you give me some more information? What platform are you on? Which setup steps did you follow to get mathlink installed?
Can you
import mathlink
?
— Reply to this email directly or view it on GitHub https://github.com/bjedwards/pythonica/issues/1#issuecomment-118104061.