Skip to content

Commit cd443ba

Browse files
authored
[AINode] Fix bug that AINode cannot compile in Windows (apache#16767)
1 parent d49d7dd commit cd443ba

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

iotdb-core/ainode/build_binary.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ def install_dependencies(venv_python, venv_dir, script_dir):
324324
shutil.rmtree(poetry_venv_path, ignore_errors=True)
325325
poetry_venv_path.parent.mkdir(parents=True, exist_ok=True)
326326
poetry_venv_path.symlink_to(venv_dir)
327-
print(f"Symlink created successfully")
327+
print(f"Symlink created successfully")
328328
except Exception as e:
329329
print(f"WARNING: Failed to create symlink: {e}")
330330
print("Will try to use poetry install directly with VIRTUAL_ENV set")
@@ -386,9 +386,7 @@ def install_dependencies(venv_python, venv_dir, script_dir):
386386
print("The symlink approach may not have worked. Please check the symlink.")
387387
sys.exit(1)
388388
else:
389-
print(
390-
f"✓ Poetry is correctly using virtual environment: {poetry_venv_path}"
391-
)
389+
print(f"Poetry is correctly using virtual environment: {poetry_venv_path}")
392390
else:
393391
print("Warning: Could not verify poetry virtual environment path")
394392
print(
@@ -465,12 +463,12 @@ def verify_poetry_env():
465463
)
466464
if test_result.returncode == 0:
467465
version = test_result.stdout.strip()
468-
print(f"{package} {version} installed")
466+
print(f"{package} {version} installed")
469467
else:
470468
error_msg = (
471469
test_result.stderr.strip() if test_result.stderr else "Unknown error"
472470
)
473-
print(f"{package} NOT found in virtual environment: {error_msg}")
471+
print(f"{package} NOT found in virtual environment: {error_msg}")
474472
missing_packages.append(package)
475473

476474
if missing_packages:

0 commit comments

Comments
 (0)