-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathquick_test.py
More file actions
55 lines (45 loc) · 1.18 KB
/
quick_test.py
File metadata and controls
55 lines (45 loc) · 1.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
"""
Quick test to verify Python 3.14 compatibility
"""
import sys
print("="*60)
print("PYTHON 3.14 COMPATIBILITY TEST")
print("="*60)
print(f"\nPython Version: {sys.version}")
print(f"Python Version Info: {sys.version_info}")
# Test imports
print("\nTesting imports...")
try:
import numpy as np
print(f"✓ NumPy {np.__version__} - OK")
except Exception as e:
print(f"✗ NumPy - FAILED: {e}")
try:
import cv2
print(f"✓ OpenCV {cv2.__version__} - OK")
except Exception as e:
print(f"✗ OpenCV - FAILED: {e}")
try:
import mediapipe as mp
print(f"✓ MediaPipe {mp.__version__} - OK")
except Exception as e:
print(f"✗ MediaPipe - FAILED: {e}")
try:
import pyautogui
print(f"✓ PyAutoGUI {pyautogui.__version__} - OK")
except Exception as e:
print(f"✗ PyAutoGUI - FAILED: {e}")
try:
import pynput
print(f"✓ Pynput - OK")
except Exception as e:
print(f"✗ Pynput - FAILED: {e}")
try:
import PIL
print(f"✓ Pillow {PIL.__version__} - OK")
except Exception as e:
print(f"✗ Pillow - FAILED: {e}")
print("\n" + "="*60)
print("Test complete! If all show ✓, you're ready to go!")
print("="*60)
print("\nRun: py main.py")