You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have installed prolintpy using the third method outlined in the documentation. I ran into an import error while trying to import prolintpy, as detailed in the previous issue (#6 ) that has been kept open by you. I thought the problem would be resolved after following the solution outlined in the thread but now I'm getting this
---------------------------------------------------------------------------AttributeError Traceback (most recent call last)/tmp/ipykernel_8570/3457557373.pyin<module>1import mdtraj as md
---->2import prolintpy as pl
~/anaconda3/envs/prolint/lib/python3.7/site-packages/prolintpy/__init__.py in<module>5from.vis.show_points import show_points
6from.vis.show_network import show_network
---->7from.vis.show_contact_projection import show_contact_projection
8from.vis.show_distances import show_distances
9from.vis.show_radar import show_radar
~/anaconda3/envs/prolint/lib/python3.7/site-packages/prolintpy/vis/show_contact_projection.py in<module>4from matplotlib.pyplot import cm
5---->6import nglview as nv
78from prolintpy.utils.shift_range import shift_range
~/anaconda3/envs/prolint/lib/python3.7/site-packages/nglview/__init__.py in<module>23# for doc---->4from.import adaptor, datafiles, show, widget
5from._version import get_versions
6from.adaptor import*~/anaconda3/envs/prolint/lib/python3.7/site-packages/nglview/show.py in<module>11 RdkitStructure,12 TextStructure)--->13from.widget import NGLWidget
1415 __all__ =[~/anaconda3/envs/prolint/lib/python3.7/site-packages/nglview/widget.py in<module>17import traitlets
18--->19from.import color, interpolate
20from.adaptor import Structure, Trajectory
21from.component import ComponentViewer
~/anaconda3/envs/prolint/lib/python3.7/site-packages/nglview/color.py in<module>112113-->114 ColormakerRegistry = _ColormakerRegistry()~/anaconda3/envs/prolint/lib/python3.7/site-packages/nglview/base.py in getinstance()8def getinstance():9if cls notin instances:--->10 instances[cls]= cls()11return instances[cls]12return getinstance
~/anaconda3/envs/prolint/lib/python3.7/site-packages/nglview/color.py in__init__(self,*args,**kwargs)45try:46 get_ipython()# only display in notebook--->47 self._ipython_display_()48exceptNameError:49pass~/anaconda3/envs/prolint/lib/python3.7/site-packages/nglview/color.py in _ipython_display_(self,**kwargs)52if self._ready:53return--->54super()._ipython_display_(**kwargs)5556def__repr__(self):AttributeError:'super'object has no attribute '_ipython_display_'
I don't why this is happening. I am also very new to Jupyter. Help would be great!
The text was updated successfully, but these errors were encountered:
I have installed prolintpy using the third method outlined in the documentation. I ran into an import error while trying to import prolintpy, as detailed in the previous issue (#6 ) that has been kept open by you. I thought the problem would be resolved after following the solution outlined in the thread but now I'm getting this
I don't why this is happening. I am also very new to Jupyter. Help would be great!
The text was updated successfully, but these errors were encountered: