Python 3.8.1 TypeError : vc_dispmanx_element_add.argtypes ... item 9 in _argtypes_ passes a union by value, which is unsupported. #604
Comments
|
I have this issue too. Just downgraded to 3.8.0 and it's fine. |
|
I also had this issue (self-compiled python 3.7.6). I ended up reflashing the OS raspbian to the newest version. It works fine now with python 3.7.4 . It seems to be a library issue than a python one.. |
|
@wingkitlee0 I confirm your suspicion. I tested it with Python 3.8.1 and 3.7.6 with the same error. In my case, the error started to happen after a system upgrade. |
|
same problem for me with python 3.8.1 . bcm_host.py seams to be the cause. But I do not know how to solve it. I will revert to previous python version. |
|
Also confirming this issue with self compiled 3.8.1. |
|
I experienced this error in python 3.8.0 and 3.8.1 installed with pyenv and picamera installed with pip or pipenv.. |
|
Hi, File "/usr/lib/python3.8/site-packages/picamera-1.13-py3.8.egg/picamera/bcm_host.py", line 451 |
|
This has been a long-standing issue in the underlying interpreter. Basically, the interpreter's support for I was investigating how to replace --EDIT-- The incriminated commit has also been included in the 3.7 branch as of 3.7.6. It means that things are expected to break also on that version, as reported by @wingkitlee0. The fix however has also been backported to the 3.7 branch so it's expected to be fixed as of 3.7.7 (or builds of the current branch HEAD). --EDIT 2-- A dirty workaround to get things working on Python 3.8.1 is to treat |
|
nunca trabalhei com linguagem tão instável, não é confiável. |
|
Can confirm that going from 3.6.7 to 3.7.7 solved this issue for me. |
|
With python 3.8.2 it works too. |
Hello,
picamera works great with Python 3.8.0, however a TypeError is immediately raised upon "import picamera" in Python 3.8.1 as shown below:
The text was updated successfully, but these errors were encountered: