Skip to content

Unable to import tick.hawkes #531

@Schinkikami

Description

@Schinkikami

System info:
Distributor ID: Debian
Description: Debian GNU/Linux 12 (bookworm)
Release: 12
Codename: bookworm
(Output from: lsb_release -a)

Python
3.9.24

Hey really great library!

However, it seems I'm unable to correctly install it.
The installation from the pull request branch of @PhilipDeegan (mentioned in #530) works (https://github.com/PhilipDeegan/tick.git@releases)

python -c "import tick"
does not throw any errors.


python -c "import tick.hawkes"
throws
Traceback (most recent call last): File "<string>", line 1, in <module> File "/data/hendrik/projects/ticktry/.venv/lib/python3.9/site-packages/tick/hawkes/__init__.py", line 3, in <module> from .model import ( File "/data/hendrik/projects/ticktry/.venv/lib/python3.9/site-packages/tick/hawkes/model/__init__.py", line 3, in <module> import tick.base File "/data/hendrik/projects/ticktry/.venv/lib/python3.9/site-packages/tick/base/__init__.py", line 24, in <module> from .timefunc import TimeFunction File "/data/hendrik/projects/ticktry/.venv/lib/python3.9/site-packages/tick/base/timefunc.py", line 3, in <module> from tick.tick_cpp import TimeFunction as _TimeFunction File "/data/hendrik/projects/ticktry/.venv/lib/python3.9/site-packages/tick/tick_cpp/__init__.py", line 1, in <module> from .tick_cpp import * ModuleNotFoundError: No module named 'tick.tick_cpp.tick_cpp'

I tried it with python3.9 and python3.11, installing both via pip:
pip install --force-reinstall --no-cache-dir git+https://github.com/PhilipDeegan/tick.git@releases

as well as via cloning the branch (and initializing the submodules) and building.
Maybe I'm just overlooking something, but I can not figure it out...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions