Skip to content

ModuleNotFoundError: No module named 'boto.vendored.six.moves' #697

@kingluo

Description

@kingluo

hi, I get some trouble to run the test suite, could someone help? Thank you very much!

S3TEST_CONF=~/ceph_config.conf tox -- s3tests/functional

ImportError while importing test module '/home/foo/s3-tests/s3tests/functional/test_s3.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
s3tests/functional/__init__.py:3: in <module>
    import boto.exception
.tox/py/lib/python3.12/site-packages/boto/__init__.py:27: in <module>
    from boto.pyami.config import Config, BotoConfigLocations
.tox/py/lib/python3.12/site-packages/boto/pyami/config.py:29: in <module>
    from boto.compat import expanduser, ConfigParser, NoOptionError, NoSectionError, StringIO
.tox/py/lib/python3.12/site-packages/boto/compat.py:52: in <module>
    from boto.vendored.six.moves import filter, http_client, map, _thread, \
E   ModuleNotFoundError: No module named 'boto.vendored.six.moves'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions