Reputation: 84529
I'm trying to run rst2odt.py and rst2wordml.py with Matti Pastelli's example on a Windows XP 32-bit computer. The R step works well, then I get the files ascii-example.rst, ascii-example.rst and ascii-example.pdf.
With Portable Python 2.7.3.1 I get the following errors:
With Portable Python 3.2.1.1 I get the following errors:
I am almost ignorant about the Python language hence I totally don't know what to do.
Upvotes: 0
Views: 147
Reputation: 142156
Not really an answer, but a couple of observations to look at
It's difficult to tell but two things stand out - the error you're receiving for the 2.7.x version is that print
was a statement in the 2.x and was changed to a function in the 3.x. Hence, it doesn't accept parameters ergo the error.
In 2.x file
and open
were effectively the same thing, and in the 3.x series file
was removed, which is another error.
As to your "image size not fully specified and PIL not installed" - you'll either need to look at the help for rst2ody to see if it can be specified, or install PIL (which is straightforward enough using pip
or easy_install
).
I'm afraid I don't have Portable Python, and although I could suggest some kludges, I'm hoping this at least gives you some pointers...
Upvotes: 2