Traceback (most recent call last):
File ".\pyapp\main.py", line 99, in
WebViewApp()
File ".\pyapp\main.py", line 95, in WebViewApp
webview.start() # 启动窗口
File "D:\demo\RTU配置工具\pyenv\pyenv\lib\site-packages\webview__init.py", line 122, in start
guilib = initialize(gui)
File "D:\demo\RTU配置工具\pyenv\pyenv\lib\site-packages\webview\guilib.py", line 101, in initialize
if not try_import(guis):
File "D:\demo\RTU配置工具\pyenv\pyenv\lib\site-packages\webview\guilib.py", line 62, in try_import
if import_func():
File "D:\demo\RTU配置工具\pyenv\pyenv\lib\site-packages\webview\guilib.py", line 52, in import_winforms
import webview.platforms.winforms as guilib
File "D:\demo\RTU配置工具\pyenv\pyenv\lib\site-packages\webview\platforms\winforms.py", line 31, in
import clr
File "D:\demo\RTU配置工具\pyenv\pyenv\lib\site-packages\clr.py", line 6, in
load()
File "D:\demo\RTU配置工具\pyenv\pyenv\lib\site-packages\pythonnet__init__.py", line 143, in load
if func(b"") != 0:
File "D:\demo\RTU配置工具\pyenv\pyenv\lib\site-packages\clr_loader\types.py", line 64, in call__
return self._callable(ffi.cast("void", buf_arr), len(buf_arr))
RuntimeError: cannot call null pointer pointer from cdata 'int()(void *, int)'
Traceback (most recent call last): File ".\pyapp\main.py", line 99, in
WebViewApp()
File ".\pyapp\main.py", line 95, in WebViewApp
webview.start() # 启动窗口
File "D:\demo\RTU配置工具\pyenv\pyenv\lib\site-packages\webview__init.py", line 122, in start
guilib = initialize(gui)
File "D:\demo\RTU配置工具\pyenv\pyenv\lib\site-packages\webview\guilib.py", line 101, in initialize
if not try_import(guis):
File "D:\demo\RTU配置工具\pyenv\pyenv\lib\site-packages\webview\guilib.py", line 62, in try_import
if import_func():
File "D:\demo\RTU配置工具\pyenv\pyenv\lib\site-packages\webview\guilib.py", line 52, in import_winforms
import webview.platforms.winforms as guilib
File "D:\demo\RTU配置工具\pyenv\pyenv\lib\site-packages\webview\platforms\winforms.py", line 31, in
import clr
File "D:\demo\RTU配置工具\pyenv\pyenv\lib\site-packages\clr.py", line 6, in
load()
File "D:\demo\RTU配置工具\pyenv\pyenv\lib\site-packages\pythonnet__init__.py", line 143, in load
if func(b"") != 0:
File "D:\demo\RTU配置工具\pyenv\pyenv\lib\site-packages\clr_loader\types.py", line 64, in call__
return self._callable(ffi.cast("void", buf_arr), len(buf_arr))
RuntimeError: cannot call null pointer pointer from cdata 'int()(void *, int)'