ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I've seen multiple questions that feature this same error message.

RuntimeError: 'distutils.core.setup()' was never called -- perhaps 'setup.py' is not a Distutils setup script?

Something about the entry of entry_points in setup.py is not right. E.g. #q368144, #q381813

In my case, I had the following when I ran into the error. Solution was to replace ":" before the module name (baa) with a dot:

 entry_points={
        'console_scripts': [
                'setup_app = foo:baa:main',
                ],
        },

I've seen multiple questions that feature this same error message.

RuntimeError: 'distutils.core.setup()' was never called -- perhaps 'setup.py' is not a Distutils setup script?

Something about the entry of entry_points in setup.py is not right. E.g. #q368144, #q381813. You should update your question to add the content of setup.py.

In my case, I had the following when I ran into the error. Solution was to replace ":" before the module name (baa) with a dot:

 entry_points={
        'console_scripts': [
                'setup_app = foo:baa:main',
                ],
        },