ImportError: cannot import name 'PandasError'

前端 未结 2 2090
花落未央
花落未央 2021-02-14 13:41

I am very new to Python 3x, running on a mac.

Currently using a sentdex tutorial for python with finance, tried running the following script:

import date         


        
相关标签:
2条回答
  • 2021-02-14 14:11

    The latest version of pandas_datareader (0.5.0) takes care of this import error. You can install it with pip:

    sudo pip install -U pandas_datareader
    
    0 讨论(0)
  • 2021-02-14 14:17

    I think you installed pandas v. 0.20.1 released yesterday. pandas-datareader is still not compatible with this version, for the moment you should stay on pandas 0.19.2:

    pip install -U pandas==0.19.2
    
    0 讨论(0)
提交回复
热议问题