-
Notifications
You must be signed in to change notification settings - Fork 3k
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
DLLs / wheel data not installed on Windows sometimes #10605
Comments
You should not use the
becomes
which is not what you want because your package is expecting
You should use the |
Thank you for the answer to this, I've followed up with the Setuptools maintainers. I have one question - what determines whether a Windows user has userbase or not? I see the code you linked to checks env vars, but is there some documentation about what kinds of Python installs use that and which don't? |
A Windows user almost always has a userbase (unless they explicitly disabled it via means like |
Description
I have a package called fugashi that I distribute wheels for. For the Windows wheels there is a DLL included, but sometimes users report that their pip install succeeded but they do not have the DLL. I have not been able to figure out why this happens and I don't even know what to ask the users to check.
In an unzipped wheel the DLL file is at this path:
It is the only data file in the wheel.
Users get this error when trying to use the package:
I have found other issues with this error, but usually the problem is that the PATH is wrong and the DLL is installed somewhere but just not visible to Python. In the cases I'm dealing with the DLL seems to not be present on the user's system, or at the very least not in the expected directory, and I haven't been able to find other reports of that.
There is more documentation on my experience with this issue here.
If there is something I can ask users to better diagnose the error please let me know.
Expected behavior
I expect the DLL file to be installed in the same directory as the Python source and other files in the wheel. That is in fact what happens when I install the wheel on Windows on my machine.
pip version
???
Python version
3.7, others
OS
Windows
How to Reproduce
pip install fugashi
import fugashi
But this doesn't happen on my system, and I don't know what configuration causes it.
Output
The text was updated successfully, but these errors were encountered: