Skip to content

Naming conflict with 'xmlrunner' Python library(pip) #225

Open
@cakel

Description

@cakel

Hello, I'm using your library and it usefully meets my expectation.

Someday during unit-test, I've got an error message using 'xmlrunner'.
$ python3 -m xmlrunner discover ./test -o ./junit-reports /bin/python3: No module named xmlrunner.__main__; 'xmlrunner' is a package and cannot be directly executed

After a timed investigation, I figured out that 'xmlrunner' also resides on pip library and it's could be installed if developer requests to install 'xmlrunner' instead of 'unittest-xml-reporting'.

It would be nice to gentle reminder if any user like me, has "No module named xmlrunner.main; 'xmlrunner' is a package and cannot be directly executed" a message. Removing 'xmlrunner' package and install 'unittest-xml-reporting' was answer.

Thank you

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