youngrimlee041660
@youngrimlee041660
Reviews Written
4
Average Rating
5.0
Posts
Q&A
import folium์์ ModuleNotFoundError : No module named 'folium'
์๋ ํ์ธ์. ์๋ ค์ฃผ์ ์ฒซ๋ฒ์งธ, ์ธ๋ฒ์งธ ๋ฐฉ๋ฒ์ ๊ฐ์ ์ค๋ฅ๊ฐ ๋ฐ์ ํ๊ณ ๋๋ฒ์งธ ๋ฐฉ๋ฒ์์ python3 -m pip install folium ์ค 3 ๋นผ๊ณ python -m pip install folium ๋ก ์ํ ํ๋๋ ๋ฌธ์ ํด๊ฒฐ ํ์ต๋๋ค. ๊ฐ์ฌํฉ๋๋ค. ๊ฐ์ ์ ๋ฃ๊ฒ ์ต๋๋ค. :)
- Likes
- 0
- Comments
- 5
- Viewcount
- 5.9K
Q&A
import folium์์ ModuleNotFoundError : No module named 'folium'
์๋ ํ์ธ์. ๋ต๋ณ ๊ฐ์ฌํฉ๋๋ค. ๊ฐ์ ์ ๋ฃ๊ณ ์์ต๋๋ค. ๊ทธ๋ฐ๋ฐ ์๋ ค์ฃผ์ 1๋ฒ, 2๋ฒ ํด๊ฒฐ์ฑ ๋ชจ๋ ์๋ฉ๋๋ค. 1๋ฒ์ already satisfied, 2๋ฒ์ Action failed, No change๋ผ๊ณ ๋จ๊ณ cmd ํค๊ณ ๋ค์ ์ฃผํผํฐ ๋ ธํธ๋ถ ์ํํด์ ์ฝ๋ ๋ฃ์์ด๋ ๊ฐ์ ์ค๋ฅ๊ฐ ๋น๋๋ค. StackoverFlow์๋ ๋น์ทํ ๋ฌธ์ ๋ฅผ ๊ฐ์ง ์ฌ๋์ด ์์ด์ ๋ฒ์ ์ถฉ๋๋ ํ์ธ ํ๋๋ฐ ์ ์๋๋ ์ง ๋ชจ๋ฅด๊ฒ ๋ค์. โป cmd์ฐฝ ๊ฒฐ๊ณผ, ์ ํํ ์๋ฌ ๋ฉ์ธ์ง, ์์ค์ฝ๋๋ ์๋ ๋ถ์์ต๋๋ค. (์ฌ์ง) ModuleNotFoundError Traceback (most recent call last) in 94 95 # Import folium for Geo Map # Import pandas as a alias 'pd' import pandas as pd # Load the CSV files "marathon_results_2017.csv" under "data" folder marathon_results_2017 = pd.read_csv("/bigdata/data/marathon_results_2017.csv") #Drop unnecessary columns marathon_2017 = marathon_results_2017.drop(['Unnamed: 0','Bib', 'Name', 'Age', 'City', 'State', 'Country', 'Citizen', 'Unnamed: 9', 'Half', 'Pace', 'Proj Time', 'Official Time', 'Overall', 'Gender', 'Division'], axis='columns') # Import Numpy Library and call it as np import numpy as np # Convert using pandas to_timedelta method marathon_2017['5K'] = pd.to_timedelta(marathon_2017['5K']) marathon_2017['10K'] = pd.to_timedelta(marathon_2017['10K']) marathon_2017['15K'] = pd.to_timedelta(marathon_2017['15K']) marathon_2017['20K'] = pd.to_timedelta(marathon_2017['20K']) marathon_2017['25K'] = pd.to_timedelta(marathon_2017['25K']) marathon_2017['30K'] = pd.to_timedelta(marathon_2017['30K']) marathon_2017['35K'] = pd.to_timedelta(marathon_2017['35K']) marathon_2017['40K'] = pd.to_timedelta(marathon_2017['40K']) # Convert time to seconds value using astype method marathon_2017['5K'] = marathon_2017['5K'].astype('m8[s]').astype(np.int64) marathon_2017['10K'] = marathon_2017['10K'].astype('m8[s]').astype(np.int64) marathon_2017['15K'] = marathon_2017['15K'].astype('m8[s]').astype(np.int64) marathon_2017['20K'] = marathon_2017['20K'].astype('m8[s]').astype(np.int64) marathon_2017['25K'] = marathon_2017['25K'].astype('m8[s]').astype(np.int64) marathon_2017['30K'] = marathon_2017['30K'].astype('m8[s]').astype(np.int64) marathon_2017['35K'] = marathon_2017['35K'].astype('m8[s]').astype(np.int64) marathon_2017['40K'] = marathon_2017['40K'].astype('m8[s]').astype(np.int64) # Define function name to_seconds check_time = 7200 Lat = 0 Long = 0 Location = '' points = [[42.247835,-71.474357], [42.274032,-71.423979], [42.282364,-71.364801], [42.297870,-71.284260], [42.324830,-71.259660], [42.345680,-71.215169], [42.352089,-71.124947], [42.351510,-71.086980]] marathon_location = pd.DataFrame(columns=['Lat','Long']) for index, record in marathon_2017.iterrows(): if (record['40K']
- Likes
- 0
- Comments
- 5
- Viewcount
- 5.9K
Q&A
Error: Cannot find module 'connect-privkey-to-provider'
์ ๋ ๊ฐ์ ์ค๋ฅ๊ฐ ๋์ต๋๋ค. ์๋ ค์ฃผ์ ๋๋ก build tools ๊น์๋ ๊ฐ์ ์๋ฌ๊ฐ ๋ ์.
- Likes
- 0
- Comments
- 4
- Viewcount
- 413




