Skip to content
This repository was archived by the owner on Sep 17, 2025. It is now read-only.
This repository was archived by the owner on Sep 17, 2025. It is now read-only.

ModuleNotFoundError: No module named 'six' #1219

@mosneji

Description

@mosneji

Describe your environment.
Python 3.10
opencensus==0.11.2

Steps to reproduce.
pip install opencensus==0.11.2
and try to do: from opencensus.common.schedule import Queue, QueueEvent, QueueExitEvent

What is the expected behavior?
Modules get imported

What is the actual behavior?
Error message: "ModuleNotFoundError: No module named 'six'"

Additional context.
"opencensus" is using "six" and "google-api-core"
"google-api-core" is using "google-auth"
"google-auth" is using "six" in the versions previous to "2.23.0" (it was released 2 days ago)
So now if we try to do pip install opencensus==0.11.2, google-auth-2.23.0 will get installed and "six" won't which would break "opencensus"

I guess "opencensus" should add "six" as a dependency as it is being used in its source code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions