Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows 3.8 Wheel Issues #30

Open
WillAyd opened this issue Jan 30, 2022 · 0 comments
Open

Windows 3.8 Wheel Issues #30

WillAyd opened this issue Jan 30, 2022 · 0 comments

Comments

@WillAyd
Copy link
Contributor

WillAyd commented Jan 30, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant