-
Notifications
You must be signed in to change notification settings - Fork 13
Errors installing package #21
Copy link
Copy link
Open
Description
Hi! I am running into issues when installing the package in Python 3.11.
With pip
I am running
pip install causal_tree_learn
I get a ModuleNotFoundError: No module named 'Cython' even though I have successfully installed cython.
Building locally
I also tried to clone the repo and build it locally using
python setup.py build_ext --inplace
With this, I get a compilation error
Error compiling Cython file:
------------------------------------------------------------
...
cdef int third_quartile
cdef np.ndarray[np.float_t, ndim=2] yy
cdef np.ndarray[np.float_t, ndim=2] tt
cdef np.ndarray x
cdef np.ndarray[np.long_t, ndim=1] treat_num
^
------------------------------------------------------------
CTL/causal_tree/util_c.pyx:362:23: Invalid type.
What do you think is going wrong? How do I successfully install and use the package?
Thanks!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels