Python 3.6.10 (default, Mar 5 2020, 10:17:47) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import tick
>>> import tick.hawkes
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "E:\pc2conda\Anaconda3\envs\PP\lib\site-packages\tick\hawkes\__init__.py", line 3, in <module>
from .model import (
File "E:\pc2conda\Anaconda3\envs\PP\lib\site-packages\tick\hawkes\model\__init__.py", line 4, in <module>
import tick.base_model.build.base_model
File "E:\pc2conda\Anaconda3\envs\PP\lib\site-packages\tick\base_model\__init__.py", line 5, in <module>
from .model_labels_features import ModelLabelsFeatures
File "E:\pc2conda\Anaconda3\envs\PP\lib\site-packages\tick\base_model\model_labels_features.py", line 6, in <module>
from tick.preprocessing.utils import safe_array
File "E:\pc2conda\Anaconda3\envs\PP\lib\site-packages\tick\preprocessing\__init__.py", line 4, in <module>
from .longitudinal_features_product import LongitudinalFeaturesProduct
File "E:\pc2conda\Anaconda3\envs\PP\lib\site-packages\tick\preprocessing\longitudinal_features_product.py", line 8, in <module>
from sklearn.externals.joblib import Parallel, delayed
ModuleNotFoundError: No module named 'sklearn.externals.joblib'
Here is My Environment (
conda list
)And I found:
How should I import hawkes? Thanks