bjedwards / pythonica Goto Github PK
View Code? Open in Web Editor NEWA sane interface to Mathematica for python
License: Other
A sane interface to Mathematica for python
License: Other
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
SystemError Traceback (most recent call last)
in ()
----> 1 m = pythonica.Pythonica()
/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
Hi,your module seems to be very useful.
But I was in trouble. when running:
import pythonica
`----> 1 import mathlink as _ml
2 import time as _time
3
4 author="""\n""".join(['Benjamin Edwards ([email protected])'])
5
ImportError: No module named mathlink`
I have searched the Internet
Some say that I should compile things in \Mathematica\11.0\SystemFiles\Links\Python,But there is no Python\ in Links\
what should I do? Thanks.
MMA ver:11.0
Python ver:2.7
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.