How to Check Scipy version : Jupyter, Colab, Terminal, Anaconda

Scipy is an open-source python library that allows you to perform scientific computing and technical computing. It contains modules for optimization, linear algebra, integration, interpolation, special functions, FFT, signal, and image processing. If you have already installed scipy in your system and want to check the version of it then this post is for you. In this entire post, you will know how to check the scipy version on different platforms.

How to check the Scipy version

After reading this section you will know the various ways to check the version of the scipy.

Checking the Scipy Version on Windows

If your system has Windows installed then you can check the version of the scipy using the below command. Open your command prompt and type python on it. It will open the python interpreter. There import the scipy and check the version using the scipy.__version__ . If you are getting no ModuleNotFoundError: No module named ‘scipy’ then in this case install scipy before checking its version.

import scipy
scipy.__version__
Scipy version in windows
Scipy version on windows

 Scipy Version on MacOs

You can display the version of scipy in MacOs in the same way as the above. Open your terminal and type the below command to get the version.

import scipy
scipy.__version__

Scipy Version using pip

The pip module is already installed by default when you install python in your system. You can know the version of the scipy using the pip command.

pip show scipy

Scipy version using pip command
Scipy version using pip command

Display scipy version in Jupyter Notebook

In the Jupyter notebook, you can use the pip command to check the version. Run the below command.

!pip show scipy

Google Colab

In Google Colaboratory, you can check the version by executing the following code in a cell.

!pip show scipy

or

!pip freeze | grep scipy
Scipy version on keras using simply pip
Scipy version using simply pip

 

Scipy version on keras using simply pip freeze
Scipy version using simply pip freeze

Anaconda

In Anaconda, you can check the Scipy by executing the following command in the Anaconda Prompt.

conda list keras

Pycharm

If you are using scipy on Pycharm, you can know the version by Navigating to the file. Go to File > Settings > Project Interpreter. It will open the Project Interpreter window. There you will see the list of all the packages that are installed in your working project. You will know the version of Scipy next to the package name.

Conclusion

Scipy is one of the best python libraries for doing statistical calculations easily. You can use it while building machine learning APIs . If you have already installed the Scipy module then these are the ways to check its version across different platforms.

Hi, I am CodeTheBest. Here you will learn the best coding tutorials on the latest technologies like a flutter, react js, python, Julia, and many more in a single place.

SPECIAL OFFER!

This Offer is Limited! Grab your Discount!
15000 ChatGPT Prompts
Offer Expires In:
close-link