Problem with Python Scipy Module [Duplicate]

Problem with Python Scipy Module [Duplicate]

I am trying to run a Python program, and when I run python ldbb.py, I get the following error:

root@dell-OptiPlex-3050:~/refractiveindex.info-scripts-master/ldbb# python ldbb.py
Traceback (most recent call last):
  File "ldbb.py", line 29, in <module>
    from scipy import constants
ImportError: No module named scipy

What should I do now?

4

1 Answer

Probably you didn't install scipy..

sudo apt-get install python-pip 

then

pip install scipy

should solve your problem.

Alexander Ross
Author

Alexander Ross

Alexander Ross has covered the video game industry for a decade, writing deep dives on game design, esports tournaments, VR developments, and gaming culture.