X-DataInitiative / tick

Module for statistical learning, with a particular emphasis on time-dependent modelling
https://x-datainitiative.github.io/tick/
BSD 3-Clause "New" or "Revised" License
484 stars 105 forks source link

issue with tick array module after installation #469

Open equivarius opened 3 years ago

equivarius commented 3 years ago

Trying to install tick on Ubuntu 18.04, but ending up with an error about the tick array module:

ImportError: cannot import name '_array' from 'tick.array.build'

This happens after otherwise successful installation, even with the simplest test, e.g.

python -c "import tick;"

I've tried installing with pip, or compiling from source, but the result is just the same. The full error trace looks like this (the installation directory path has been truncated to ):

python -c "import tick;" Traceback (most recent call last): File "<string>", line 1, in <module> File "<path_to_tick>/tick/tick/__init__.py", line 6, in <module> import tick.base File "<path_to_tick>/tick/tick/base/__init__.py", line 23, in <module> from tick.array import * File "<path_to_tick>/tick/tick/array/__init__.py", line 3, in <module> from .build import array File "<path_to_tick>/tick/tick/array/build/array.py", line 13, in <module> from . import _array ImportError: cannot import name '_array' from 'tick.array.build' (<path_to_tick>/tick/tick/array/build/__init__.py)

Running Python 3.6 with all the tick prerequisites installed.

RunKZhang commented 2 years ago

I met the same problem. How did you handle it?

Wambyat commented 1 year ago

Hey did this get solved? I have the same error.

PhilipDeegan commented 1 year ago

this should be resolved

Wambyat commented 1 year ago

Ahhh damn alright. Thanks for the reply. Best wishes.