tr8dr / tseries-patterns

trend / momentum and other patterns in financial timeseries
MIT License
242 stars 71 forks source link

Errors using package #14

Open Roh-codeur opened 4 months ago

Roh-codeur commented 4 months ago

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!

tr8dr commented 3 months ago

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: @.***>