-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
cBKTree version: 0.3.2
OS: Windows and Linux
Python: 3.9
python setup.py build
[1/1] Cythonizing lib/cyHamDb.pyx
Error compiling Cython file:
------------------------------------------------------------
...
^
------------------------------------------------------------
lib/cyHamDb.pyx:1:0: 'cbktree/cyHamDb' is not a valid module name
Traceback (most recent call last):
File "/home/user/cBKTree/setup.py", line 23, in <module>
ext_modules=cythonize([Extension(
File "/home/user/.pyenv/versions/3.9.7/lib/python3.9/site-packages/Cython/Build/Dependencies.py", line 1102, in cythonize
cythonize_one(*args)
File "/home/user/.pyenv/versions/3.9.7/lib/python3.9/site-packages/Cython/Build/Dependencies.py", line 1225, in cythonize_one
raise CompileError(None, pyx_file)
Cython.Compiler.Errors.CompileError: lib/cyHamDb.pyx
Fix:
Need to change the module name "cbktree/cyHamDb" to "cbktree.cyHamDb"
Metadata
Metadata
Assignees
Labels
No labels