16 lines
423 B
Python
16 lines
423 B
Python
#!/usr/bin/env python3
|
|
"""List Python path and check for hermes_tools."""
|
|
|
|
import sys
|
|
import os
|
|
|
|
print("Python executable:", sys.executable)
|
|
print("\nPython path:")
|
|
for p in sys.path:
|
|
print(" ", p)
|
|
|
|
print("\nChecking for hermes_tools in PATH locations:")
|
|
for p in sys.path:
|
|
hermes_tools_path = os.path.join(p, "hermes_tools")
|
|
if os.path.exists(hermes_tools_path):
|
|
print(f" FOUND: {hermes_tools_path}") |