python-zwoasi | Python binding for the ZWO ASI library | Build Tool library
kandi X-RAY | python-zwoasi Summary
kandi X-RAY | python-zwoasi Summary
Python binding for the ZWO ASI library. Control ZWO ASI cameras from python.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of python-zwoasi
python-zwoasi Key Features
python-zwoasi Examples and Code Snippets
Community Discussions
Trending Discussions on python-zwoasi
QUESTION
I'm trying to use the zwo asi python bindings library (available here) on a Debian machine.
To do so, I downloaded the SDK from zwo's website (the Mac & Linux version), placed the ASICamera2.h file in the /usr/include
and ran the commands written in the README.txt in the lib folder of the archive.
I effectively get the "200" answer when using the command :
ANSWER
Answered 2022-Jan-04 at 19:38
OSError: /usr/include/ASICamera2.h: invalid ELF header
You have told your runtime environment that ASICamera2.h
is the name of a shared library it should be loading (using dlopen
on).
But ASICamera2.h
is C
header (text) file defining the API for that library, not the library itself.
Instead you should point Python to a shared library (which is likely also part of the SDK you downloaded). Usually shared libraries end with .so
. Documentation you pointed to says that the library is named ASICamera2.so
.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install python-zwoasi
You can use python-zwoasi like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page