smadaminov / ovs-dpdk-meson-issues

VMware Summer 2021
BSD 3-Clause "New" or "Revised" License
1 stars 1 forks source link

DLL load failed while importing win32file: The specified procedure could not be found. #63

Closed williamtu closed 3 years ago

williamtu commented 3 years ago
[6/286] Generating vtep-idl.ovsidl with a custom command (wrapped by meson to set env, to capture output)
FAILED: vtep-idl.ovsidl
"C:\ovs-dpdk-meson-issues\ovs\meson59" "--internal" "exe" "--unpickle" "C:\ovs-dpdk-meson-issues\ovs\build\meson-
private\meson_exe_python.exe_333f091130fbeb1e1c08309aea14c96b8fb054a9.dat"
while executing ['C:\\Python39\\python.exe', 'C:/ovs-dpdk-meson-issues/ovs/ovsdb/ovsdb-idlc.in', 'annotate', 'C:/
ovs-dpdk-meson-issues/ovs/vtep/vtep.ovsschema', 'C:/ovs-dpdk-meson-issues/ovs/vtep/vtep-idl.ann']
--- stderr ---
Traceback (most recent call last):
  File "C:\ovs-dpdk-meson-issues\ovs\ovsdb\ovsdb-idlc.in", line 10, in <module>
    import ovs.db.schema
  File "C:\ovs-dpdk-meson-issues\ovs\python\ovs\db\schema.py", line 19, in <module>
    import ovs.db.types
  File "C:\ovs-dpdk-meson-issues\ovs\python\ovs\db\types.py", line 18, in <module>
    import ovs.db.data
  File "C:\ovs-dpdk-meson-issues\ovs\python\ovs\db\data.py", line 22, in <module>
    import ovs.jsonrpc
  File "C:\ovs-dpdk-meson-issues\ovs\python\ovs\jsonrpc.py", line 21, in <module>
    import ovs.poller
  File "C:\ovs-dpdk-meson-issues\ovs\python\ovs\poller.py", line 26, in <module>
    import ovs.winutils as winutils
  File "C:\ovs-dpdk-meson-issues\ovs\python\ovs\winutils.py", line 24, in <module>
    import win32file
ImportError: DLL load failed while importing win32file: The specified procedure could not be found.
williamtu commented 3 years ago
[2/269] Generating vtep-idl.ovsidl with a custom command (wrapped by meson to set env, to capture output)
FAILED: vtep-idl.ovsidl
"C:\ovs-dpdk-meson-issues\ovs\meson59" "--internal" "exe" "--unpickle" "C:\ovs-dpdk-meson-issues\ovs\build\meson-
private\meson_exe_python.exe_333f091130fbeb1e1c08309aea14c96b8fb054a9.dat"
while executing ['C:\\Python39\\python.exe', 'C:/ovs-dpdk-meson-issues/ovs/ovsdb/ovsdb-idlc.in', 'annotate', 'C:/
ovs-dpdk-meson-issues/ovs/vtep/vtep.ovsschema', 'C:/ovs-dpdk-meson-issues/ovs/vtep/vtep-idl.ann']
--- stderr ---
Traceback (most recent call last):
  File "C:\ovs-dpdk-meson-issues\ovs\ovsdb\ovsdb-idlc.in", line 10, in <module>
    import ovs.db.schema
  File "C:\ovs-dpdk-meson-issues\ovs\python\ovs\db\schema.py", line 19, in <module>
    import ovs.db.types
  File "C:\ovs-dpdk-meson-issues\ovs\python\ovs\db\types.py", line 18, in <module>
    import ovs.db.data
  File "C:\ovs-dpdk-meson-issues\ovs\python\ovs\db\data.py", line 22, in <module>
    import ovs.jsonrpc
  File "C:\ovs-dpdk-meson-issues\ovs\python\ovs\jsonrpc.py", line 21, in <module>
    import ovs.poller
  File "C:\ovs-dpdk-meson-issues\ovs\python\ovs\poller.py", line 26, in <module>
    import ovs.winutils as winutils
  File "C:\ovs-dpdk-meson-issues\ovs\python\ovs\winutils.py", line 24, in <module>
    import win32file
ImportError: DLL load failed while importing win32file: The specified procedure could not be found.
williamtu commented 3 years ago

Solved: Run Scripts\pywin32_postinstall.py -install in an Admin command prompt

smadaminov commented 3 years ago

closing and reflected in the README