Installing python modules


I am trying to use numpy, obspy, and matplotlib in python. However, when I first tried to import them, I got a message saying that the modules had not been found. I installed them with the following commands:

python -m pip install SomePackage (numpy, etc)

when I tried to import them afterwards, I got error messages with import numpy as np, and when I do import obspy, there’s a segmentation fault and python is stopped.

How can I solve this?

thank you!

Hi there,

Installing python packages is a pretty straight forward process so it’s likely that you tried to install these packages on the login node and triggered a processes limitation. Can you try this again but using an interactive session?