Comprehensive_Python_Setup_Guide (1)
Comprehensive_Python_Setup_Guide (1)
1. Installing Python
2. Run the installer and ensure to check the box "Add Python to PATH".
python --version
pip --version
On Windows: myenv\Scripts\activate
deactivate
4. Installing Libraries
C:\Users\<Your Username>\AppData\Local\Programs\Python\Python313
C:\Users\<Your Username>\AppData\Local\Programs\Python\Python313\Scripts
6. Navigating Directories
cd C:\Users\<Your Username>\AppData\Local\Programs\Python\Python313
7. Testing Installations
import numpy as np
import tensorflow as tf
print("OpenCV:", cv2.__version__)
print("NumPy:", np.__version__)
print("Matplotlib:", plt.__version__)
print("TensorFlow:", tf.__version__)
python -m ensurepip