We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 909b863 commit abf8475Copy full SHA for abf8475
1 file changed
folium/__init__.py
@@ -1,4 +1,3 @@
1
-import sys
2
3
import branca
4
from branca.colormap import ColorMap, LinearColormap, StepColormap
@@ -59,28 +58,6 @@
59
58
)
60
61
62
-if sys.version_info < (3, 0):
63
- raise ImportError(
64
- """You are running folium {} on Python 2
65
-
66
- folium 0.9 and above are no longer compatible with Python 2, but somehow
67
- you got this version anyway. Make sure you have pip >= 9.0 to avoid this
68
- kind of issue, as well as setuptools >= 24.2:
69
70
- $ pip install pip setuptools --upgrade
71
72
- Your choices:
73
74
- - Upgrade to Python 3.
75
76
- - Install an older version of folium:
77
78
- $ pip install 'folium<0.9.0'
79
80
- """.format(
81
- __version__
82
- )
83
- ) # noqa
84
85
__all__ = [
86
"Choropleth",
0 commit comments