-
Notifications
You must be signed in to change notification settings - Fork 15
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
Problem with sample code #5
Comments
does not appear to be related to the toupcam code. Are python and ctypes properly installed in your environment? |
Yes I am using Python version 3.7.3 and ctypes version '1.1.0'. any tips or ideas would be much appreciated. |
can you send more of the error trace? Maybe try python 2.7 |
Here is the python version: below is the full error-trace: Do you think that its an issue with the Python version? |
try downloading the updated dll from #3 |
i just updated the dll in the x86 directory. Pull the lastest commit and see if that works |
Hey Jake, thanks for the help. I tried the new dll file and I am getting the same error: The code fails in line 43 of the the core.py file: |
don't know. I didn't make that dll. I only run linux and osx. That dll was provided by #3 |
Hey Jake, my problem was with the .dll file. I am using 64 bit Python and I replaced your .dll with the one from toupcam: https://touptek.com/download/showdownload.php?id=32&lang=en |
I am getting the error below when running the sample code:
File "C:\ProgramData\Anaconda3\lib\ctypes_init_.py", line 356, in init
self._handle = _dlopen(self._name, mode)
OSError: [WinError 193] %1 is not a valid Win32 application
Here is my system description:
Python 3.7.3 (default, Mar 27 2019, 17:13:21) [MSC v.1915 64 bit (AMD64)] :: Anaconda, Inc. on win32
The text was updated successfully, but these errors were encountered: