Error while starting Glassfish 5 server with asadmin

0

I tried to start the Glassfish 5 server using the instructions givent in the "Read me" file. When I use the command asadmin start-domain or asadmin start-domain domain1 I get the following error

File "/Users/xxxxxx/anaconda/bin/asadmin", line 51
    print "No auto scaling groups by the name of %s found" % name

SyntaxError: Missing parentheses in call to 'print'. Did you mean print("No auto scaling groups by the name of %s found" % name)?

It looks like my Python version is not the good one (Python 2 seems to be the one excepted). I installed Python 3 with Anaconda, I don't know however how to install two versions of Python in my computer without having everything crashing in Anaconda.

Does anyone have an idea to help me ?

Thanks!!

Yvanou

Posted 2019-04-06T21:02:37.600

Reputation: 1

No answers