Re: Pythonika: Python in Mathematica
- To: mathgroup at smc.vnet.net
- Subject: [mg71612] Re: Pythonika: Python in Mathematica
- From: Peter Pein <petsie at dordos.net>
- Date: Sat, 25 Nov 2006 05:36:48 -0500 (EST)
- References: <ek6413$91g$1@smc.vnet.net>
Murray Eisenberg schrieb: > I'm having trouble getting Pythonica to start with Mathematica 5.2 on > Windows XP. > > I'm using the supplied notebook Pythonika.nb. I begin by evaluating the > cell > > app = "d:\Language\pythonika\bin\Windows\Pythonika.exe"; > Install[app]; > > where app indeed gives the correct path to Pythonika.exe. I get a > pop-up window asking, "Choose a MathLink program to launch". > > Should I be selecting MathKernel.exe? If I do, then the cell I > evaluated just keeps running (thickened cell bracket, and nothing > returned), and I cannot even get evaluation of the next cell -- > > Links[app] > > to return a result. > > What am I doing wrong? > Use double backslashes (as usual in Mathematica for Windows) or use ToFileName[]: app = "D:\\Programme\\pythonika-1.0\\bin\\Windows\\Python2.4\\Pythonika.exe"; Install[app]; works for my installation of Pythonika. P²