-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
By using delvewheel by default, things get placed into hyperarrow.libs. This works on Py39 and 10, but on 38 you get this import time error:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\PC\miniconda3\envs\py38\lib\site-packages\hyperarrow\__init__.py", line 35, in <module>
from .libhyperarrow import *
ImportError: DLL load failed while importing libhyperarrow: The specified module could not be found.
After that you can tried moving the libraries from hyperarrow.libs into the base hyperarrow folder. That solves this but yields another error
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\PC\miniconda3\envs\py38\lib\site-packages\hyperarrow\__init__.py", line 30, in <module>
_delvewheel_init_patch_0_0_18()
File "C:\Users\PC\miniconda3\envs\py38\lib\site-packages\hyperarrow\__init__.py", line 14, in _delvewheel_init_patch_0_0_18
os.add_dll_directory(libs_dir)
File "C:\Users\PC\miniconda3\envs\py38\lib\os.py", line 1109, in add_dll_directory
cookie = nt._add_dll_directory(path)
FileNotFoundError: [WinError 2] The system cannot find the file specified: 'C:\\Users\\PC\\miniconda3\\envs\\py38\\lib\\site-packages\\hyperarrow.libs'
Right now the wheel on pypi has the libraries copied to both areas, which makes the file much larger than it needs to be and also gives ambiguous library calls, amongst other possible issues
Metadata
Metadata
Assignees
Labels
No labels