-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
dvc <command> fails with known numpy/win10 error; Windows 10 (20H2) for dvc version >=1.10.0; #5012
Comments
@mzietlow, it seems that there's not much we can do as it's a Windows issue. I am not sure if pyarrow would be happy with 1.19.3. Let me try :) |
@mzietlow, can you use pip packages? We only need numpy for |
@skshetry I am able to use DVC via my local python3.9 installation as a workaround. |
Thank you! |
@mzietlow, was it fixed? If not, let's keep this open. Another user also experienced the same issue: https://discord.com/channels/485586884165107732/485596304961962003/785851699856277524 |
I assumed it to be fixed with the next release, but sure let's keep it open 😇 |
Another user (from mailing list) ran into it. Makes me wonder about #2760 again. |
Thanks to @skshetry for implementing a workaround! 🙏 We are releasing 1.11.3 with a fix right now. |
I have kept an eye on the issue and it seems to be fixed in both the newest Numpy (1.19.5) and Windows (21H1) releases. (Have not had time to verify though.) |
Bug Report
I have two systems running Win10, one on 2004, the other on 20H2 and I have installed DVC via https://github.com/iterative/dvc/releases.
When executing dvc , I get a Win10 specific error message (see my output of $ dvc version). Roughly, this is caused by details in ucrtbase.dll which, in turn, lead to errors in numpy's fmod function.
I have rolled my system-wide numpy installations back to numpy==1.19.3 which alleviates the issue as described (in conjunction with other workarounds) in https://developercommunity.visualstudio.com/comments/1244066/view.html.
However, as dvc does not seem use my system-wide python interpreters, solving it for them doesn't get me off the ground.
Suggestion
Although I dislike pinning, I suggest to set numpy==1.19.3 until ucrtbase.dll is fixed.
Alternatively, users with Win10 {20H2, 2004} must either:
Maybe someone else is able to come up with a better solution.
Please provide information about your setup
Output of
dvc version
:While with version < 1.10.0
Additional Information (if any):
The text was updated successfully, but these errors were encountered: