ImportError-No module named six


When I try to verify the configuration of my CJE Cluster with “cje verify”, I see this error:

Unhandled error rendering template: Traceback (most recent call last):
  File "/Users/inifc/Applications/pse_1.2.1/bin/dna", line 13, in <module>
    import dna
  File "/Users/inifc/Applications/pse_1.2.1/lib/site-packages/dna/", line 46, in <module>
    from dna import *
  File "/Users/inifc/Applications/pse_1.2.1/lib/site-packages/dna/", line 4, in <module>
    from dna.ec2_env import VOLUMES_SECTION_NAME
  File "/Users/inifc/Applications/pse_1.2.1/lib/site-packages/dna/", line 9, in <module>
    import boto3
  File "/Users/inifc/Applications/pse_1.2.1/lib/site-packages/boto3/", line 16, in <module>
    from boto3.session import Session
  File "/Users/inifc/Applications/pse_1.2.1/lib/site-packages/boto3/", line 17, in <module>
    import botocore.session
  File "/Users/inifc/Applications/pse_1.2.1/lib/site-packages/botocore/", line 25, in <module>
    import botocore.configloader
  File "/Users/inifc/Applications/pse_1.2.1/lib/site-packages/botocore/", line 18, in <module>
    from six.moves import configparser
ImportError: No module named six.moves



You need to install “six” module in python, you could use one of these commands

easy_install six


pip install six

Have more questions?


Please sign in to leave a comment.