Giter VIP home page Giter VIP logo

Comments (3)

100ideas avatar 100ideas commented on July 22, 2024

Also, sudo python setup.py develop did successfully add the package to my system's python modules.

pi@opentrons1 ~/spec/python-seabreeze $ sudo python setup.py develop
running develop
running egg_info
writing pbr to seabreeze.egg-info/pbr.json
writing seabreeze.egg-info/PKG-INFO
writing top-level names to seabreeze.egg-info/top_level.txt
writing dependency_links to seabreeze.egg-info/dependency_links.txt
reading manifest file 'seabreeze.egg-info/SOURCES.txt'
writing manifest file 'seabreeze.egg-info/SOURCES.txt'
running build_ext
copying build/lib.linux-armv7l-2.7/seabreeze/cseabreeze/wrapper.so -> seabreeze/cseabreeze
Creating /usr/local/lib/python2.7/dist-packages/seabreeze.egg-link (link to .)
Removing seabreeze 0.5.1 from easy-install.pth file
Adding seabreeze 0.5.1 to easy-install.pth file
Installing seabreeze-compare script to /usr/local/bin

Installed /home/pi/spec/python-seabreeze
Processing dependencies for seabreeze==0.5.1
Finished processing dependencies for seabreeze==0.5.1
pi@opentrons1 ~/spec/python-seabreeze $ python
Python 2.7.9 (default, Mar  8 2015, 00:52:26) 
[GCC 4.9.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import seabreeze.spectrometers as sb
>>> spec = sb.Spectrometer(sb.list_devices()[0])
>>> spec.serial_number
'USB2K10109'
>>> 
pi@opentrons1 ~/spec/python-seabreeze $

from python-seabreeze.

ap-- avatar ap-- commented on July 22, 2024

Hi,

your first issue shows up, because you are trying to import seabreeze while your current working directory is the git repository root. Just cd to a different folder after installing and it'll work.

Regarding your second issue: which osx version are you on? My guess is: it's just pip's version naming system that prevents the installation.

from python-seabreeze.

ap-- avatar ap-- commented on July 22, 2024

The osx arch issue should be fixed now (0.5.2).

from python-seabreeze.

Related Issues (20)

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.