python-scipyHow do I check the version of Python Scipy I am using?
The easiest way to check the version of Python Scipy you are using is to use the scipy.__version__
attribute.
Example code
import scipy
print(scipy.__version__)
Example output:
1.4.1
The above code imports the scipy
module and prints out the version of Python Scipy you are using.
The code can be broken down into the following parts:
import scipy
: This line imports thescipy
module.print(scipy.__version__)
: This line prints out the version of Python Scipy you are using.
Helpful links
More of Python Scipy
- How can I check if a certain version of Python is compatible with SciPy?
- How do I use Python XlsxWriter to write a NumPy array to an Excel file?
- How do I create a 2D array of zeros using Python and NumPy?
- How can I use Python and SciPy to find the zeros of a function?
- How do I use Python Numpy to read and write Excel (.xlsx) files?
- How can I use Python and SciPy to implement a quantum Monte Carlo simulation?
- How can I use scipy linalg in Python?
- How do I use Python Scipy to perform a Z test?
- How to use Python, XML-RPC, and NumPy together?
- How can I use Python and SciPy together online?
See more codes...