'Error installing exempi on AWS-SageMaker notebook instance
I have created a notebook instance on AWS-SageMaker and not able to access imgtag module inside it.
Kernel : conda_python3
from imgtag import imgTag
getting error like :
---------------------------------------------------------------------------
ExempiLoadError Traceback (most recent call last)
<ipython-input-3-07781880ca1d> in <module>
----> 1 from imgtag import ImgTag
~/anaconda3/envs/python3/lib/python3.6/site-packages/imgtag/__init__.py in <module>
----> 1 from .core import ImgTag
~/anaconda3/envs/python3/lib/python3.6/site-packages/imgtag/core.py in <module>
----> 1 import libxmp
2 import warnings
3 import os
4
5 class ImgTag:
~/anaconda3/envs/python3/lib/python3.6/site-packages/libxmp/__init__.py in <module>
48
49 # Import classes into global namespace
---> 50 from .core import XMPMeta, XMPIterator
51 from . import files, core, version
52 from .files import XMPFiles
~/anaconda3/envs/python3/lib/python3.6/site-packages/libxmp/core.py in <module>
48 from .consts import XMP_PROP_OPTIONS
49
---> 50 from . import exempi as _cexempi
51
52 __all__ = ['XMPMeta','XMPIterator']
~/anaconda3/envs/python3/lib/python3.6/site-packages/libxmp/exempi.py in <module>
67 return EXEMPI
68
---> 69 EXEMPI = _load_exempi()
70
71 # Error codes defined by libexempi. See "xmperrors.h"
~/anaconda3/envs/python3/lib/python3.6/site-packages/libxmp/exempi.py in _load_exempi()
58
59 if path is None:
---> 60 raise ExempiLoadError('Exempi library not found.')
61
62 if os.name != "nt":
ExempiLoadError: Exempi library not found.
Also, I have installed the dependecies using conda install exempi
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|