-
-
Notifications
You must be signed in to change notification settings - Fork 32k
python 3.13.1 giving import error over nfs [windows] #129333
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
Comments
can this be reviewed please. |
The actual numpy issue is numpy/numpy#28216 And the relevant information (missing from this report) seems to be:
@barneygale @nineteendo Does this ring a bell to either of you? Did we change something that would add |
I would just note that Lines 544 to 554 in 180ee43
Whereas the Lines 745 to 754 in 180ee43
|
I don't recall changing UNC prefixes, but let me do a bisect first. |
This comment has been minimized.
This comment has been minimized.
Looks like it started emitting this error in 500b0f4, but right before that it simply crashed when trying to import numpy. So, I'm not sure if it's only Python which is to blame. I'm going to try again with an earlier numpy version. UPDATE: the error doesn't occur on numpy 1.25.0. |
@nineteendo did you try numpy 1.25.0 on python 3.13.1? |
I only checked if the import succeeded. I tried again by disabling |
Yeah, I suspect this is probably it. It changed in #86179, which looks like it only landed in 3.13 but pretty early on. Clearly we don't have any tests for running from UNC mounts. |
@zooba @nineteendo , Is there any workaround I can use to fix this issue without setting PYTHONHOME. |
The only other workaround might be setting Alternatively, copy Python onto the local machine and use If you're building from source, you could add the extra check for |
Bug report
Bug description:
I built python 3.13.1 from source using MSVC , using
call build.bat -e -v -p x64
, had no issues in building . After building it I installed numpy 2.1.0 whl from pypi. then I tried using this python over nfs on remote host I am getting numpy import error -ImportError: DLL load failed while importing _multiarray_umath: The parameter is incorrect.
same set of steps works for me with python
3.12.6
. seems something is changed in 3.13.1 when trying import over nfs.could someone please help As I am unable to figure out.
raised issue with numpy dev as well numpy/numpy#28216 , but it seems issue with the way how new python is working. any help is appreciated.
CPython versions tested on:
3.13
Operating systems tested on:
Windows
Linked PRs
The text was updated successfully, but these errors were encountered: