1

I have Python 3.5.2 (Anaconda 4.2.0 (x86_64)) on my Mac laptop and I am facing this problem:

import spm1d
Traceback (most recent call last):
ImportError: No module named 'spm1d'

I searched about the problem and I did not find any solution.

Thank you in advance

Alex44
  • 3,597
  • 7
  • 39
  • 56
Basemah
  • 13
  • 3

1 Answers1

1

It means that the module (spm1d) is not installed, you have to install the module before import, open terminal bash run the command: easy_install spm1d

or you can refer to the official document below for more detail: http://www.spm1d.org/install/InstallationPython.html

Hope it will work for you.

Tiny.D
  • 6,466
  • 2
  • 15
  • 20