python-scipyHow do I check the version of Python SciPy I'm using?
To check the version of Python SciPy you are using, you can use the scipy.__version__
attribute. This attribute will return the version of SciPy you are using.
Example code
import scipy
print(scipy.__version__)
Example output:
1.5.2
The code can be broken down into two parts:
import scipy
- this imports the SciPy library into the program.print(scipy.__version__)
- this prints the version of SciPy that is being used.
Helpful links
More of Python Scipy
- How do I use the scipy.stats.norm.cdf function in Python?
- How can I check if a certain version of Python is compatible with SciPy?
- How do I install SciPy on Windows using Python?
- How do I integrate scipy with Python?
- How do I find the size of a Python numpy array?
- How do I use Python XlsxWriter to write a NumPy array to an Excel file?
- How do I use Python Numpy to read and write Excel (.xlsx) files?
- How can I use Python and SciPy to read and write WAV files?
- How can I use Python and SciPy to solve an ordinary differential equation?
- How do I uninstall Python Scipy?
See more codes...