Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I tried to install Pythonika on my Ubuntu 13.04, but I failed to find a possible file and a possible way to do it. Any help will be appreciated!

share|improve this question
What error(s) did you get while installing? –  M.Tarun Sep 27 '13 at 13:56
@M.Tarun I even cannot find the file to install, so no error. Thanks! –  Eden Harder Sep 27 '13 at 14:45
@M.Tarun Thanks! I download the first file but cannot open it. And the rest files may be not for Ubuntu. –  Eden Harder Sep 28 '13 at 1:50
@EdenHarder Have you solved your problem? –  Salem Apr 18 at 12:14

1 Answer 1

None of the compiled versions available match your OS/arch, so you will need to compile it by yourself. Roughly, you need to follow those steps:

  • Install the building tools

    $ sudo apt-get install build-essential subversion python-dev
  • Get the source code:

    $ svn checkout http://pythonika.googlecode.com/svn/trunk/ pythonika-src
    $ cd pythonika-src
  • Edit the file Makefile.linux and check the path in MATHEMATICA_INSTALL_DIR is correct. Also you will need to change PYTHON_VERSION_MINOR to "7" (if you are using the python version installed by default).

  • Compile it

    $ make -f Makefile.linux

If everything went well, you should have a file named Pythonika inside that folder. If you get any error, update your question with the errors you get.

share|improve this answer
Mat says: "I get following error on Ubuntu 12: sudo make -f Makefile.linux cc -c Pythonika.c -I/usr/local/Wolfram/M[...] /bin/sh: 1: /usr/local/Wolfram/Mathematica/9.0/SystemFiles/Links/MathLink/DeveloperKit/Linux‌​/CompilerAdditions/mprep: not found make: *** [Pythonikatm.o] Error 127 –  MadMike Nov 7 '13 at 5:50
@MadMike Well it seems you don't have Mathematica or MathLink installed, or it is installed somewhere else. See if this helps: reference.wolfram.com/mathematica/tutorial/… –  Salem Nov 7 '13 at 19:17

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.