I guess you have packages.ros.org in apt sources and got the python3-colcon-core package from there. Note that those packages are not compatible with the colon in Debian/Ubuntu.
I guess you have packages.ros.org in apt sources and got the python3-colcon-core package from there. Note that those packages are not compatible with the colon in Debian/Ubuntu.