bjedwards / pythonica

A sane interface to Mathematica for python
Other
26 stars 8 forks source link

Problem on "import mathlink" #2

Open ygb8745 opened 7 years ago

ygb8745 commented 7 years ago

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 (bedwards@cs.unm.edu)']) 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

bjedwards commented 7 years ago

Hey, thanks for the interest. As you can see, I haven't worked on the project in a while. Mathematica 11 may have changed the directory structure, or might not include the python mathlink library.

I don't have a copy of Mathematica 11 so I couldn't say...

ygb8745 commented 7 years ago

Thank you anyway.:)