-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
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?
Metadata
Metadata
Assignees
Labels
No labels