Skip to content

Commit

Permalink
Fix pip install error (lucasb-eyer#126)
Browse files Browse the repository at this point in the history
* Use relative import to fix pip error

* Update densecrf.pyx
  • Loading branch information
RogerQi authored Mar 5, 2024
1 parent dd07054 commit 2723c7f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pydensecrf/densecrf.pxd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from eigen cimport *
from .eigen cimport *


cdef extern from "densecrf/include/labelcompatibility.h":
Expand Down
4 changes: 2 additions & 2 deletions pydensecrf/densecrf.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

from numbers import Number

import eigen
cimport eigen
import pydensecrf.eigen as eigen
cimport pydensecrf.eigen as eigen


cdef LabelCompatibility* _labelcomp(compat) except NULL:
Expand Down

0 comments on commit 2723c7f

Please sign in to comment.