Code Monkey home page Code Monkey logo

pyfli's People

Contributors

charris avatar fandongwei avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

pyfli's Issues

'pyfli' has no attribute 'FLIOpen' on ubuntu server 16 python3

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.