tseries-patterns icon indicating copy to clipboard operation
tseries-patterns copied to clipboard

Errors using package

Open Roh-codeur opened this issue 1 year ago • 1 comments

Hi,

thanks for the package and the blog, very informative indeed. I am afraid I get errors importing the lib

pip install git+https://github.com/tr8dr/tseries-patterns

from tseries_patterns.buysell import HawkesBSI, HawkesBVC

ModuleNotFoundError: No module named 'plotnine.utils'

if I change it to plotnine._utils, I see more errors:

ImportError: cannot import name 'Iterable' from 'collections' (/python3.12/collections/__init__.py)

Is this something you can help with please?

ta!

Roh-codeur avatar Jul 25 '24 20:07 Roh-codeur

Sorry, I've not been maintaining this project. It looks like the API for plotnine has changed. The ggplot.py file needs adjustment. Alternatively can remove the dependency within HawkesBSI, HawkesBVC to the functionality in ggplot.py. If you want to adjust I would be happy to take modifications.

On Thu, Jul 25, 2024 at 4:16 PM Roh_codeur @.***> wrote:

Hi,

thanks for the package and the blog, very informative indeed. I am afraid I get errors importing the lib

pip install git+https://github.com/tr8dr/tseries-patterns

from tseries_patterns.buysell import HawkesBSI, HawkesBVC

ModuleNotFoundError: No module named 'plotnine.utils'

Is this something you can help with please?

ta!

— Reply to this email directly, view it on GitHub https://github.com/tr8dr/tseries-patterns/issues/14, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAY3IUQWY3IPWJVQ5KTD3TDZOFMLVAVCNFSM6AAAAABLPHXAPOVHI2DSMVQWIX3LMV43ASLTON2WKOZSGQZTAOJRGA3TGOI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

tr8dr avatar Aug 04 '24 10:08 tr8dr