Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use unoconv with Windows 7 and python 2.7.9? #243

Closed
efriossoltero opened this issue Feb 28, 2015 · 2 comments
Closed

How to use unoconv with Windows 7 and python 2.7.9? #243

efriossoltero opened this issue Feb 28, 2015 · 2 comments

Comments

@efriossoltero
Copy link

Hello,

I'm trying to use unoconv with Windows 7 and Python 2.7.9. I already installed LibreOffice 4.4 and UNO 0.3.3 (pip install uno).

I get this error:

C:\Users\user>python "C:\Program Files (x86)\unoconv-0.6\unoconv" -h
  File "c:\Program Files (x86)\unoconv-0.6\unoconv", line 241
    print 'PATH=%s' % os.environ['PATH']
                  ^
SyntaxError: invalid syntax

This runs without a problem:
C:\Users\user>python

Python 2.7.9 (default, Dec 10 2014, 12:24:55) [MSC v.1500 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import os
>>> 'PATH=%s' % os.environ['PATH']

How can I run unoconv? Thanks.

@dagwieers
Copy link
Member

Sorry, I don't understand that syntax error either. Must be something trivial though :-/

@regebro
Copy link
Member

regebro commented Feb 19, 2019

That syntax error is likely actually on an earlier line.

@regebro regebro closed this as completed Feb 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants