Syntax error Krome setup

33 views
Skip to first unread message

Daniel Seifried

unread,
Dec 7, 2020, 5:06:28 AM12/7/20
to KROMEusers
Hi everyone,
since the weekend a colleague an me get a weird syntax error when trying to set up KROME:

 ./krome -test=hello

results in the error message:

File "./krome", line 44, in <module>

    from kromeobj import *

  File "/home/seifried/data/Daten/Krome/KROME/krome_newest/krome/kromeobj.py", line 4554

    rate_data = {**rate_data, **rate_data_rev}

                  ^

SyntaxError: invalid syntax


I would guess it is something python related and not due to KROME itself, but I was wondering if someone else has encountered this issue recently. Till I 

Best,

Daniel

tommaso grassi

unread,
Dec 7, 2020, 5:08:17 AM12/7/20
to KROMEusers
Hi Daniel,

are you using python2 or 3?

Daniel Seifried

unread,
Dec 7, 2020, 5:10:18 AM12/7/20
to KROMEusers
Hi Tommaso,

I am using python 2.7.17

Best,

Daniel


-- 
You received this message because you are subscribed to a topic in the Google Groups "KROMEusers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/kromeusers/BZMDClA9zM4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to kromeusers+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kromeusers/d54bb9ec-ce22-4a25-8691-65761b5be9abn%40googlegroups.com.

Tommaso Grassi

unread,
Dec 7, 2020, 5:11:57 AM12/7/20
to Daniel Seifried, KROMEusers
try with
python3 krome [your options]

You received this message because you are subscribed to the Google Groups "KROMEusers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kromeusers+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kromeusers/11F12F9A-FDD3-4273-93E4-04EF1C7E3335%40ph1.uni-koeln.de.

Daniel Seifried

unread,
Dec 7, 2020, 5:13:26 AM12/7/20
to Tommaso Grassi, KROMEusers
Thanks, Tommaso.

Worked!

Cheers,

Daniel


Reply all
Reply to author
Forward
0 new messages