kataria_opticals_api / check_env.py
codernotme's picture
commit
a5a6a2e verified
raw
history blame contribute delete
482 Bytes
import sys
print("Starting import check...")
try:
import cv2
print(f"CV2 imported: {cv2.__version__}")
except Exception as e:
print(f"CV2 import failed: {e}")
try:
import numpy
print(f"Numpy imported: {numpy.__version__}")
except Exception as e:
print(f"Numpy import failed: {e}")
try:
import sklearn
print(f"Sklearn imported: {sklearn.__version__}")
except Exception as e:
print(f"Sklearn import failed: {e}")
print("Import check complete.")