awesome-panel / panel-chemistry

๐Ÿงช๐Ÿ“ˆ ๐Ÿ. The purpose of the panel-chemistry project is to make it really easy for you to do DATA ANALYSIS and build powerful DATA AND VIZ APPLICATIONS within the domain of Chemistry using using Python and HoloViz Panel.
MIT License
119 stars 16 forks source link

Fixing issue #23 (import error with panel 0.13+) #24

Closed tubiana closed 2 years ago

tubiana commented 2 years ago

Fixing issue in #23 : cannot import name 'string_types' from 'panel.util' They removes from six import string_types in panel 0.13, so I juste replaced

from panel.util import lazy_load, string_types

by

from panel.util import lazy_load
from six import string_types
MarcSkovMadsen commented 2 years ago

Thanks. I plan a new release including a fix for this on Friday.

MarcSkovMadsen commented 2 years ago

Thanks. I will work on releasing this weekend hopefully. I will not be using six though. As I understand it, it was only there for backwards compability with python 2.7 strings.