pythonista上でimport foliumをすると、syntax errorが出ます
エラーコード
Traceback (most recent call last):
File "/private/var/mobile/Containers/Shared/AppGroup/F988DE32-DE78-4BFE-A467-0CACBEE13164/Pythonista3/Documents/site-packages-3/folium/folium.py", line 13, in <module>
from folium.map import FitBounds
File "/private/var/mobile/Containers/Shared/AppGroup/F988DE32-DE78-4BFE-A467-0CACBEE13164/Pythonista3/Documents/site-packages-3/folium/folium.py", line 13, in <module>
from folium.map import FitBounds
ModuleNotFoundError: No module named 'folium.map'; 'folium' is not a package
folium.py13行目
python
1# -*- coding: utf-8 -*- 2 3""" 4Make beautiful, interactive maps with Python and Leaflet.js 5 6""" 7 8import time 9import warnings 10 11from branca.element import CssLink, Element, Figure, JavascriptLink, MacroElement 12 13from folium.map import FitBounds 14from folium.raster_layers import TileLayer 15from folium.utilities import ( 16_parse_size, 17_tmp_html, 18validate_location, 19parse_options, 20)
に問題があるようです
map.pyは保存されているので参照がうまくできていないのでしょうか?
解決策を教えていただきたいです