GitHub
10/16/2025, 6:01 PM2025-01-21T174443.696439Z [warning ] Failed to create symlink to 'meltano.exe': administrator privilege requiredmeltano/src/meltano/core/project.py Lines 209 to 226 in</meltano/meltano/commit/82ff2fb17efa635bb25135840472cb361fc05875|82ff2fb> | try: | | ---------------------------------------------------------------------- | | # check if running on Windows | | if os.name == "nt": | | executable = Path(sys.executable).parent / "meltano.exe" | | # Admin privileges are required to create symlinks on Windows | | if ctypes.windll.shell32.IsUserAnAdmin(): # type: ignore[attr-defined] | | if executable.is_file(): | | project.run_dir().joinpath("bin").symlink_to(executable) | | else: | | logger.warning( | | "Could not create symlink: meltano.exe not " # noqa: G004 | | f"present in {Path(sys.executable).parent!s}", | | ) | | else: | | logger.warning( | | "Failed to create symlink to 'meltano.exe': " | | "administrator privilege required", | | ) | In my experience, the inability to create the symlink does not affect the users ability to use the meltano CLI. It would be nice to limit how this is shown because it implies there are a serious issue but provides no resolution steps. Possible solutions: • Set it to log at DEBUG instead of WARNING • Provide a config to suppress the warning that is referenced in the warning • Other? meltano/meltano
GitHub
10/16/2025, 6:01 PM