yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #15199
[Question #644698]: scipy.ndimage import
New question #644698 on Yade:
https://answers.launchpad.net/yade/+question/644698
I'm experiencing some problems importing the scipy.ndimage module into Yade. Although I have installed the scipy package, when I run my script, I get the error message:
ImportError: No module named scipy.ndimage
The strange thing is that this only happens if I import scipy.ndimage as a part of the script that I'm running, by using the command:
scipy.ndimage as nd
If I open Yade in the terminal and manually type 'import scipy.ndimage as nd', I don't experience any problems.
I'm running Yade 1.20.0 on Ubuntu 16.04 and I should mention that I'm using Enthought Canopy software to manage my python packages (which installs a separate version of python on the computer). I have however set the Canopy python as the default python in Linux.
What can I do to avoid this problem?
--
You received this question notification because your team yade-users is
an answer contact for Yade.