Hi All,
Since python2.7 is outdated, I tried to use python3.6 to install the cloudify CLI. I see the repositories are not still completely supported for python3.6, so I am getting following errors regarding syntax error. Anyone faced a similar issue and any way to resolve it.
Cloudify CLI is completely installed with the "cloudify==20.03.03", is it enough to start use the "cfy" commands? or it depends on the other packages cloudify-common, cloudify-plugins-common and cloudify-dsl-parser too.
> pip3 install cloudify==20.03.03
> pip3 install cloudify-common==5.0.5.1
> pip3 install cloudify-dsl-parser==4.3.3
Collecting cloudify-dsl-parser==4.3.3
Using cached
https://files.pythonhosted.org/packages/da/1c/23b2c52422aeea60dda767b8ed904e3f67feb684667d2c06ca52d72b61eb/cloudify-dsl-parser-4.3.3.tar.gz Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-j_oai209/cloudify-dsl-parser/setup.py", line 29
except ImportError, e:
^
SyntaxError: invalid syntax
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-j_oai209/cloudify-dsl-parser/
> cfy -h
Traceback (most recent call last):
File ProgrammingEnvironment/python3_6_venv_cloudify_custom#/bin/cfy", line 7, in <module>
from cloudify_cli.main import _cfy
File ProgrammingEnvironment/python3_6_venv_cloudify_custom#/lib/python3.6/site-packages/cloudify_cli/main.py", line 18, in <module>
from .cli import cfy
File ProgrammingEnvironment/python3_6_venv_cloudify_custom#/lib/python3.6/site-packages/cloudify_cli/cli/cfy.py", line 21, in <module>
import StringIO
ModuleNotFoundError: No module named 'StringIO'