Re: Problem with gensrc

Posted by Nicolai Lassesen on
URL: http://quantlib.414.s1.nabble.com/Problem-with-gensrc-tp7368p7370.html

Hi Bojan

Thank you for your reply.

> Yes, your problem is related to python, specifically to python version
> 3.0. The reason is that python is intentionally *not compatible*
> between versions 2.x and 3.x.

I was not aware of this incompatibility - maybe someone should put a note on
the Quantlib site :-)

> You need to install python 2.x or, if you are ambitious, try running
> an automatic converter that changes 2.x code into 3.x code.

I tried editing the python files, altering "print " to "print(...)" and
various other stuff, but when the compiler began to complain about the xml
files as well I gave up and installed the 2.6.1 version of python - now
everything runs and compiles just fine :-)

Br,
Nicolai


------------------------------------------------------------------------------
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users