파이썬 에러 SyntaxError: Missing parentheses in call to 'print'

2020. 9. 11. 15:22Hacking/Mobile hacking

insecureBankv2 서버 설치 중 에러 발생

환경 : anaconda python 3.7.2

 

[원인] 

print

 

에러코드 의미

SyntaxError: Missing parentheses in call to 'print'

 

문법적으로 오류

parentheses (괄호)가 print를 호출하는데 빠졌다


python2 print 문 python3가 되면서 print 함수가 되었기 때문

[해결방법]

print "hello world"

--> print("hello world")


출처: https://korbillgates.tistory.com/93 [생물정보학자의 블로그]