I can't import this package, it seems the problem is with it's DGL dependency and potentially how it was compiled with Cython. I have reinstalled and I have also tried an upper version of DGL but it fails (and your requirements clearly say dgl==0.4.3)
AttributeError Traceback (most recent call last)
/tmp/ipykernel_267/491137184.py in
1 #from deepsort import DeepSortPredictor
----> 2 import deepsort
3 #model = DeepSortPredictor(species='human', tissue='Liver')
~/.local/lib/python3.8/site-packages/deepsort/init.py in
----> 1 from .predict import DeepSortPredictor
2 from .trainer import DeepSortClassifier
3 from .demo import demo
~/.local/lib/python3.8/site-packages/deepsort/predict.py in
----> 1 import dgl
2 from dgl.contrib.sampling import NeighborSampler
3 import torch
4 import torch.nn as nn
5 import torch.nn.functional as F
~/.local/lib/python3.8/site-packages/dgl/init.py in
6 # Need to ensure that the backend framework is imported before load dgl libs,
7 # otherwise weird cuda problem happens
----> 8 from .backend import load_backend, backend_name
9
10 from . import function
~/.local/lib/python3.8/site-packages/dgl/backend/init.py in
72
73
---> 74 load_backend(get_preferred_backend())
75
76
~/.local/lib/python3.8/site-packages/dgl/backend/init.py in load_backend(mod_name)
21
22 def load_backend(mod_name):
---> 23 mod = importlib.import_module('.%s' % mod_name, name)
24 thismod = sys.modules[name]
25 for api in backend.dict.keys():
/usr/lib/python3.8/importlib/init.py in import_module(name, package)
125 break
126 level += 1
--> 127 return _bootstrap._gcd_import(name[level:], package, level)
128
129
~/.local/lib/python3.8/site-packages/dgl/backend/pytorch/init.py in
----> 1 from .tensor import *
~/.local/lib/python3.8/site-packages/dgl/backend/pytorch/tensor.py in
8 from torch.utils import dlpack
9
---> 10 from ... import ndarray as nd
11 from ... import kernel as K
12 from ...function.base import TargetCode
~/.local/lib/python3.8/site-packages/dgl/ndarray.py in
13
14 from ._ffi.object import register_object, ObjectBase
---> 15 from ._ffi.function import _init_api
16 from ._ffi.ndarray import DGLContext, DGLType, NDArrayBase
17 from ._ffi.ndarray import context, empty, from_dlpack, numpyasarray
~/.local/lib/python3.8/site-packages/dgl/_ffi/function.py in
14 raise ImportError()
15 if sys.version_info >= (3, 0):
---> 16 from ._cy3.core import _set_class_function, _set_class_module
17 from ._cy3.core import FunctionBase as _FunctionBase
18 from ._cy3.core import convert_to_dgl_func
dgl/_ffi/_cython/./object.pxi in init dgl._ffi._cy3.core()
AttributeError: type object 'dgl._ffi._cy3.core.ObjectBase' has no attribute 'reduce_cython'