Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-1-5084803b0409> in <module>()
----> 1 import hyperspy.api as hs
2
3 path = "/Users/thomas/Dropbox/0_DPhil/0_Data/00_TEM Data/0_Other/Test/Image"
4 name = "EELS Metal 0eV"
5
/Users/thomas/anaconda/envs/c3/lib/python3.5/site-packages/hyperspy/api.py in <module>()
61
62 from hyperspy.Release import version as __version__
---> 63 from hyperspy import signals
64 from hyperspy.io import load
65 from hyperspy.defaults_parser import preferences
/Users/thomas/anaconda/envs/c3/lib/python3.5/site-packages/hyperspy/signals.py in <module>()
37 # -*- coding: utf-8 -*-
38
---> 39 from hyperspy._signals.spectrum import Spectrum
40 from hyperspy._signals.image import Image
41 from hyperspy._signals.eels import EELSSpectrum
/Users/thomas/anaconda/envs/c3/lib/python3.5/site-packages/hyperspy/_signals/spectrum.py in <module>()
23
24 from hyperspy.exceptions import DataDimensionError
---> 25 from hyperspy.signal import Signal
26 from hyperspy.gui.egerton_quantification import SpikesRemoval
27
/Users/thomas/anaconda/envs/c3/lib/python3.5/site-packages/hyperspy/signal.py in <module>()
41
42 from hyperspy.axes import AxesManager
---> 43 from hyperspy import io
44 from hyperspy.drawing import mpl_hie, mpl_hse, mpl_he
45 from hyperspy.learn.mva import MVA, LearningResults
/Users/thomas/anaconda/envs/c3/lib/python3.5/site-packages/hyperspy/io.py in <module>()
27 from hyperspy.misc.io.tools import ensure_directory
28 from hyperspy.misc.utils import strlist2enumeration
---> 29 from natsort import natsorted
30 import hyperspy.misc.io.tools
31 from hyperspy.io_plugins import io_plugins, default_write_ext
ImportError: No module named 'natsort'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.