Skip to content

Windows 3.8 Wheel Issues #30

@WillAyd

Description

@WillAyd

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions