charris / pyfli Goto Github PK
View Code? Open in Web Editor NEWPython wrappers for the Finger Lakes Instrumentation SDK
License: BSD 3-Clause "New" or "Revised" License
Python wrappers for the Finger Lakes Instrumentation SDK
License: BSD 3-Clause "New" or "Revised" License
I am doing what I thought was correct to install and setup the python wrappers for the finger lakes.
I did gcc install, python header install and kernel header install also i additionally made sure numpy was installed. It required me to install python3 . So I created a virtualenv in python3, and did a sudo pip3 install of numpy. Then I did the instructions for building and installing the python wrapper. I see no errors (some warnings) here and there but no errors.
So a simple app fails with the 'pyfli' has no attribute 'FLIOpen':
import numpy as np
from pyfits import PrimaryHDU
import pyfli as fli
from sys import argv, exit, stdout
from time import sleep
dev = fli.FLIOpen ('/dev/fliusb0', 'usb', 'camera')
ret = fli.setImageArea (dev, 0, 0, 512, 512)
dev = fli.FLIClose (dev)
About the only thing I have changed was inside the .py files they had a:
#!/usr/bin/env python
that I removed, because with that in there it kept trying to use my systems python2 I think?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.