简体   繁体   English

pandas_datareader & pyinstaller

[英]pandas_datareader & pyinstaller

Has any of you encounter the below issue with pyinstaller?有没有人遇到过 pyinstaller 的以下问题? I have a code that uses pandas_datareader and it seems to be the reason why pyinstaller returns RecursionError: maximum recursion depth exceeded我有一个使用 pandas_datareader 的代码,这似乎是 pyinstaller 返回RecursionError: maximum recursion depth exceeded

here's a simple code that I used to test and confirm that pdr is the only lib that breaks in pyinstaller这是一个简单的代码,我用来测试并确认 pdr 是唯一在 pyinstaller 中中断的库

import pandas_datareader as pdr

print(pdr.DataReader('AAPL', 'yahoo', start="2020-04-06", end="2020-04-06"))

I'm using我在用着

  • python 3.7.4 python 3.7.4
  • Pyinstaller 3.6安装程序 3.6
  • pandas_datareader 0.8.1 pandas_datareader 0.8.1

Thanks!谢谢!

I found a solution HERE from Aviral我从Aviral那里找到了一个解决方案

it seems that the issue was the limit number of recursion.似乎问题是递归的限制次数。 Once I changed it to 5000 it went through一旦我将其更改为 5000,它就通过了

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM