close

[Solved] Import: No module named scipy

Hello Guys, How are you all? Hope You all Are Fine. Today I get the following error Import: No module named scipy in python. So Here I am Explain to you all the possible solutions here.

Without wasting your time, Let’s start This Article to Solve This Error.

How Import: No module named scipy Error Occurs?

Today I get the following error Import: No module named scipy in python.

How To Solve Import: No module named scipy Error ?

  1. How To Solve Import: No module named scipy Error ?

    To Solve Import: No module named scipy Error Try to install it as a python package using pip. You said you already tried:

  2. Import: No module named scipy

    To Solve Import: No module named scipy Error Try to install it as a python package using pip. You said you already tried:

Solution 1

Try to install it as a python package using pip. You said you already tried:

sudo apt-get install python-scipy

Now run:

pip install scipy

I ran both and it worked on my Debian-based box.

Solution 2

To ensure easy and correct installation for python use pip from the get go

To install pip:

$ wget https://bootstrap.pypa.io/get-pip.py
$ sudo python2 get-pip.py   # for python 2.7
$ sudo python3 get-pip.py   # for python 3.x

To install scipy using pip:

$ pip2 install scipy    # for python 2.7
$ pip3 install scipy    # for python 3.x

Summery

It’s all About this issue. Hope all solution helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which solution worked for you? Thank You.

Also, Read