diff --git a/rpyutils/import_c_library.py b/rpyutils/import_c_library.py index 9dccc0f..a91e43c 100644 --- a/rpyutils/import_c_library.py +++ b/rpyutils/import_c_library.py @@ -44,12 +44,12 @@ def import_c_library(name: str, package: Optional[str] = None): expected_path = Path(__file__).parents[1] / ( name[1:] + sysconfig.get_config_var('EXT_SUFFIX')) assert not expected_path.is_file() - link = f'https://docs.ros.org/en/{distro}/Guides/Installation-Troubleshooting.html#import-failing-without-library-present-on-the-system' # noqa: E501 + link = f'https://docs.ros.org/en/{distro}/How-To-Guides/Installation-Troubleshooting.html#import-failing-without-library-present-on-the-system' # noqa: E501 e.msg += \ f"\nThe C extension '{expected_path}' isn't present on the " \ f"system. Please refer to '{link}' for possible solutions" if e.path is not None and os.path.isfile(e.path): - link = 'https://docs.ros.org/en/{distro}/Guides/Installation-Troubleshooting.html#import-failing-even-with-library-present-on-the-system' # noqa: E501 + link = f'https://docs.ros.org/en/{distro}/How-To-Guides/Installation-Troubleshooting.html#import-failing-even-with-library-present-on-the-system' # noqa: E501 e.msg += \ f"\nThe C extension '{e.path}' failed to be imported while " \ f"being present on the system. Please refer to '{link}' for " \