I. Open the command line and type
python -v
Second, here to OpenCV as an example, cv2 for OpenCV module name, and then enter the
import cv2
The results are as follows
The above method of python to view the module installation location is all that I have shared with you, I hope to give you a reference, and I hope you will support me more.