LoginSignup
0
0

More than 5 years have passed since last update.

pandas-datareaderのis_list_likeがimportできない問題を解決(local,heroku)

Posted at

pandas-datareader問題

pandas-datareaderのfred.pyの
is_list_likeがimportできない

一般的なローカル環境での解決策

fred.py
#from pandas.core.common import is_list_like
from pandas.api.types import is_list_like

とする。

herokuデプロイ後のheroku環境での解決策(苦肉の策)

mySite-settings.py
#pandas_datareader問題のため追加
import pandas
pandas.core.common.is_list_like = pandas.api.types.is_list_like

とする。

もっと、いい方法があれば教えてください。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0