Replies: 1 comment
-
Fixed, there are some issues with dll library. Reinstall different Microsoft Visual C++ Redistributable(x64). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I follow the install instruction on picoquant.github. I finished all the steps, but when I ran a demo file, I got the error from cmd below
C:\Users\admin\Downloads\snAPI-main\demos>python Demo_TimeTrace.py
Switched to: TkAgg
Error in sys.excepthook:
Traceback (most recent call last):
File "C:\Users\admin\AppData\Local\Programs\Python\Python312\Lib\site-packages\snAPI\Main.py", line 292, in logException
dll.logError(f"Uncaught python exception: {exception_type.name}!".encode('utf-8'))
OSError: exception: access violation reading 0x0000000000000000
Original exception was:
Traceback (most recent call last):
File "C:\Users\admin\Downloads\snAPI-main\demos\Demo_TimeTrace.py", line 10, in
sn = snAPI()
^^^^^^^
File "C:\Users\admin\AppData\Local\Programs\Python\Python312\Lib\site-packages\snAPI\Main.py", line 222, in init
self.initAPI(systemIni)
File "C:\Users\admin\AppData\Local\Programs\Python\Python312\Lib\site-packages\snAPI\Main.py", line 383, in initAPI
ok = self.dll.initAPI(SBuf)
^^^^^^^^^^^^^^^^^^^^^^
OSError: exception: access violation reading 0x0000000000000000
Exception ignored in: <function snAPI.del at 0x000001F07C05F7E0>
Traceback (most recent call last):
File "C:\Users\admin\AppData\Local\Programs\Python\Python312\Lib\site-packages\snAPI\Main.py", line 226, in del
File "C:\Users\admin\AppData\Local\Programs\Python\Python312\Lib\site-packages\snAPI\Main.py", line 402, in exitAPI
OSError: exception: access violation reading 0x0000000000000000
Beta Was this translation helpful? Give feedback.
All reactions