Python.Runtime.PythonException: ImportError: DLL load failed: 文件名或拓展名太长。 #2365
Unanswered
oneoldfriend
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Environment
Details
at the start of my exe, i'm trying to import my python module, but when i call Py.Import() method. i got an exception with following msg: "Python.Runtime.PythonException: ImportError: DLL load failed: 文件名或拓展名太长。"
My "Python.Runtime.dll" is located in the path below:
D:\槽式清洗机\3.4.0RC02\wet_bench_cassetteless_pr_strip_btc-Wet_Bench_CassetteLess_PR_Strip_BTC_3.4.0_RC_04\wet_bench_cassetteless_pr_strip_btc-Wet_Bench_CassetteLess_PR_Strip_BTC_3.4.0_RC_04\bin\Python.Runtime.dllwhen i reduce the file path, the exception is not throwed anymore.
I'm wondering what's file path length limitation for this, cuz the path length above is not exceeding 260 or 255 charactes, which are the limitation for windows 7.
All reactions