Nike-Inc/timeseries-generator

Problems installing

isabelsandstrom opened this issue · 2 comments

Trying to install using pip, but I get the error: Could not build wheels for pandas, which is required to install pyproject.toml-based projects

image

I'm seeing a similar issue: It seems like pip is pinning to the exact pandas==1.2.0 from requirements.txt, rather than the open range from setup.py install_requires?

From my testing the library seems to work ok on pandas v1.5.2 too (with a lot of FutureWarnings on DataFrame.append deprecation and behaviour of iterating over a groupby with a grouper equal to a list of length 1)... So I think it's just a packaging issue that's making the install over-specific on dependency versions?

Thanks to Nike for this great tool.

Re: installation, it requires matplotlib.axes._subplots which disappeared from matplotlib after 3.3.3. Given dependencies it's easiest to run in its own environment. Otherwise, you'd need to amend the plotting code in base_factor.py or (much better) move plotting out of that base class altogether.