normal broken script?

  • nvita_07
  • nvita_07's Avatar Topic Author
  • Offline
  • Fresh Boarder
More
2 years 9 months ago #9085 by nvita_07
broken script? was created by nvita_07
Hello,

I have just downloaded the most recent martini script to my mac and for some reason I am getting the following error:

File "martinize.py", line 32, in <module>
import DOC, CMD, MAIN
File "/Users/nvita/Desktop/Modeling/NDH-1/Hp_Coarse-grained/martinize.py-master/DOC.py", line 241
print item
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(item)?

I am not sure why I am getting a syntax error. It seems like something is wrong with the python script.

Thanks for any help.

Please Log in or Create an account to join the conversation.

More
2 years 9 months ago #9091 by vainikka
Replied by vainikka on topic broken script?
You are trying to run a python 2 script using python 3.

Please Log in or Create an account to join the conversation.

Time to create page: 0.078 seconds