1. Method 1 From the command line
- pip list or conda list There is a corresponding Package name and Version number
- pip show Package name
pip show numpy
2. Method 2
Through the program
import numpy
print(numpy.__version__)
3. see python edition
- Enter... On the command line python
- Command line python --version
( On the premise of configuring environment variables )