SHARE
TWEET

Untitled

a guest Sep 14th, 2017 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. ImportErrorTraceback (most recent call last)
  3. <ipython-input-2-0387e4a3bf06> in <module>()
  4. ----> 1 from skimage import io                    # utilities to read and write images in various formats
  5.       2 import numpy as np                        # array manipulation package
  6.       3 import matplotlib.pylab as plt            # plotting package
  7.       4 get_ipython().magic(u'matplotlib inline')
  8.       5 plt.rcParams['figure.figsize'] = (15, 10) # set default figure size
  9.  
  10. C:\Users\Juuso\Anaconda2\lib\site-packages\skimage\__init__.py in <module>()
  11.     156     except ImportError as e:
  12.     157         _raise_build_error(e)
  13. --> 158     from .util.dtype import *
  14.     159
  15.     160
  16.  
  17. C:\Users\Juuso\Anaconda2\lib\site-packages\skimage\util\__init__.py in <module>()
  18. ----> 1 from .dtype import (img_as_float, img_as_int, img_as_uint, img_as_ubyte,
  19.       2                     img_as_bool, dtype_limits)
  20.       3 from .shape import view_as_blocks, view_as_windows
  21.       4 from .noise import random_noise
  22.       5 from .apply_parallel import apply_parallel
  23.  
  24. C:\Users\Juuso\Anaconda2\lib\site-packages\skimage\util\dtype.py in <module>()
  25.       1 from __future__ import division
  26. ----> 2 import numpy as np
  27.       3 from warnings import warn
  28.       4
  29.       5 __all__ = ['img_as_float', 'img_as_int', 'img_as_uint', 'img_as_ubyte',
  30.  
  31. C:\Users\Juuso\Anaconda2\lib\site-packages\numpy\__init__.py in <module>()
  32.     140         return loader(*packages, **options)
  33.     141
  34. --> 142     from . import add_newdocs
  35.     143     __all__ = ['add_newdocs',
  36.     144                'ModuleDeprecationWarning',
  37.  
  38. C:\Users\Juuso\Anaconda2\lib\site-packages\numpy\add_newdocs.py in <module>()
  39.      11 from __future__ import division, absolute_import, print_function
  40.      12
  41. ---> 13 from numpy.lib import add_newdoc
  42.      14
  43.      15 ###############################################################################
  44.  
  45. C:\Users\Juuso\Anaconda2\lib\site-packages\numpy\lib\__init__.py in <module>()
  46.       6 from numpy.version import version as __version__
  47.       7
  48. ----> 8 from .type_check import *
  49.       9 from .index_tricks import *
  50.      10 from .function_base import *
  51.  
  52. C:\Users\Juuso\Anaconda2\lib\site-packages\numpy\lib\type_check.py in <module>()
  53.       9            'common_type']
  54.      10
  55. ---> 11 import numpy.core.numeric as _nx
  56.      12 from numpy.core.numeric import asarray, asanyarray, array, isnan, \
  57.      13                 obj2sctype, zeros
  58.  
  59. C:\Users\Juuso\Anaconda2\lib\site-packages\numpy\core\__init__.py in <module>()
  60.      22 files not under version control).  Otherwise reinstall numpy.
  61.      23 """
  62. ---> 24     raise ImportError(msg)
  63.      25
  64.      26 for envkey in env_added:
  65.  
  66. ImportError:
  67. Importing the multiarray numpy extension module failed.  Most
  68. likely you are trying to import a failed build of numpy.
  69. If you're working with a numpy git repo, try `git clean -xdf` (removes all
  70. files not under version control).  Otherwise reinstall numpy.
RAW Paste Data
Top