fix python >= 3.9,ModuleNotFoundError: No module named 'distutils' #5
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
当系统python版本>=3.9时,在实际运行过程中会出现缺失distuils库的问题

且高版本不再支持distuils,无法通过pip install distuils直接安装,此处是直接写了一份新的函数,来作为原函数引用的替代。
使得fusion2urdf-ros2可支持高版本python。
When the system python version >= 3.9, there is a problem with the missing distuils library during the actual runtime
And higher versions no longer support distuils, can not be installed directly through pip install distuils, here is a direct write a new copy of the function, to serve as a replacement for the original function reference.
Make fusion2urdf-ros2 can support high version python.