GithubHelp home page GithubHelp logo

Comments (5)

codedance avatar codedance commented on May 19, 2024

It's been a while since I've installed Retaliation on a Mac. The error suggests that python's USB support. Libusb is a requirement but you'll also need USB support in Python.

I found this post on Stack Overflow. It may help:

http://stackoverflow.com/questions/6213361/python-pyusb-import-usb-core-doesnt-work

Let me know if any of the suggestions work.

from retaliation.

jtheoof avatar jtheoof commented on May 19, 2024

I had the same problem as you @rabbadab. All I had to do was to install python using homebrew and then in a new shell:

$ which python
/usr/local/bin/python

$ pip install pyusb
Collecting pyusb
  Downloading pyusb-1.0.0b2.tar.gz (57kB)
    100% |████████████████████████████████| 61kB 2.0MB/s
Installing collected packages: pyusb
  Running setup.py install for pyusb
Successfully installed pyusb-1.0.0b2

from retaliation.

codedance avatar codedance commented on May 19, 2024

Thanks @jtheoof So you've had to install pyusb with pip? Do you think a change to the README would help? e.g.

On a mac system, run the following commands:

brew install libusb
pip install pyusb

from retaliation.

jtheoof avatar jtheoof commented on May 19, 2024

Yes this is definitely the right steps. However I was not able to pass the kernel extension issues with Yosemite. See #20.

from retaliation.

jtheoof avatar jtheoof commented on May 19, 2024

To more correct @codedance, the install process on os x would be:

brew install python # also installs pip
brew install libusb 
pip install pyusb

from retaliation.

Related Issues (10)

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.