以下のコードを実行しているのですが、foliumのライブラリが定義されていない
と不具合が出ます。コマンドプロンプトでpip install foliumを実行したのですが
結果変わらずです。すみませんが解決法ご教示いただけますでしょうか。
python
1import folium 2 3m = folium.Map(location = [35.942957,136.198863],zoom_start=16)
Anacondaで以下のコードを実行しました。
import sys print(sys.executable)
C:\Users\user\anaconda3\python.exeと表示されました。
コマンドプロンプト上で
・C:\Users\user\anaconda3\python.exe -m pip install foliumと実行した結果以下のように
表示されました。
Could not fetch URL https://pypi.org/simple/folium/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/folium/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping
ERROR: Could not find a version that satisfies the requirement folium (from versions: none)
ERROR: No matching distribution found for folium
また下記アドレスを変更しても結果は上記と変化なしでした。
・\Users\user\anaconda3\python.exe
・C:\Users\user\anaconda3\python
・\Users\user\anaconda3\python

回答2件
あなたの回答
tips
プレビュー