Importing SNAP

I just installed SNAP and trying to import it via Jupyter’s Notebook gives the following error: I have already appended the path to the SNAP folder…Please help!
"--------------------------------------------------------------------------------------------------
ImportError Traceback (most recent call last)
/usr/local/lib/python2.7/dist-packages/snap.py in swig_import_helper()
17 try:
—> 18 return importlib.import_module(mname)
19 except ImportError:

~/anaconda3/lib/python3.6/importlib/init.py in import_module(name, package)
125 level += 1
–> 126 return _bootstrap._gcd_import(name[level:], package, level)
127

~/anaconda3/lib/python3.6/importlib/_bootstrap.py in _gcd_import(name, package, level)

~/anaconda3/lib/python3.6/importlib/_bootstrap.py in find_and_load(name, import)

~/anaconda3/lib/python3.6/importlib/_bootstrap.py in find_and_load_unlocked(name, import)

~/anaconda3/lib/python3.6/importlib/_bootstrap.py in _load_unlocked(spec)

~/anaconda3/lib/python3.6/importlib/_bootstrap.py in module_from_spec(spec)

~/anaconda3/lib/python3.6/importlib/_bootstrap_external.py in create_module(self, spec)

~/anaconda3/lib/python3.6/importlib/_bootstrap.py in _call_with_frames_removed(f, *args, **kwds)

ImportError: /usr/local/lib/python2.7/dist-packages/_snap.so: undefined symbol: PyInstance_Type

During handling of the above exception, another exception occurred:

ImportError Traceback (most recent call last)
in ()
----> 1 import snap
2 #!which python

/usr/local/lib/python2.7/dist-packages/snap.py in ()
19 except ImportError:
20 return importlib.import_module(’_snap’)
—> 21 _snap = swig_import_helper()
22 del swig_import_helper
23 elif _swig_python_version_info >= (2, 6, 0):

/usr/local/lib/python2.7/dist-packages/snap.py in swig_import_helper()
18 return importlib.import_module(mname)
19 except ImportError:
—> 20 return importlib.import_module(’_snap’)
21 _snap = swig_import_helper()
22 del swig_import_helper

~/anaconda3/lib/python3.6/importlib/init.py in import_module(name, package)
124 break
125 level += 1
–> 126 return _bootstrap._gcd_import(name[level:], package, level)
127
128

ImportError: /usr/local/lib/python2.7/dist-packages/_snap.so: undefined symbol: PyInstance_Type"

It seems you are using snap.py and not snappy

Maybe you find help here: http://snap.stanford.edu/snappy/index.html