kvantetore / igrill

Hacking the iGrill mini
MIT License
28 stars 74 forks source link

No matching distribution found for bluepy==0.9.11 (from -r requirements.txt (line 1)) #5

Open brianjmurrell opened 6 years ago

brianjmurrell commented 6 years ago
$ pip install -r requirements.txt
Collecting bluepy==0.9.11 (from -r requirements.txt (line 1))
  Could not find a version that satisfies the requirement bluepy==0.9.11 (from -r requirements.txt (line 1)) (from versions: 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.1.0, 1.1.1, 1.1.4)
No matching distribution found for bluepy==0.9.11 (from -r requirements.txt (line 1))

Has any of the newer releases been tested?

brettroyer commented 6 years ago

download it manually and place it in the same directory as your project

brianjmurrell commented 6 years ago

Well, it's really quite a moot point now since I have an iGrill V2 and from what I am gathering, this project doesn't currently support that device.

If it did however, it would be nicer to test a bluepy distribution that is available with pip and update requirements.txt accordingly. Ideally, it would be even nicer still to remove the version pinning from from bluepy until there is a reason to pin it.

If there were iGrill V2 support, I'd even do all of that for you and push a PR to update it. But since there isn't I couldn't reasonably test such changes so I wouldn't push them.

brettroyer commented 6 years ago

On a fresh Raspberry Pi Install, I performed the following to get this code to work - Minus the database portion.

  1. Install bluez using these instructions. Install version 5.29 instead of the version listed. https://learn.adafruit.com/install-bluez-on-the-raspberry-pi/installation a. Download - wget http://www.kernel.org/pub/linux/bluetooth/bluez-5.29.tar.xz b. Extract - tar xvf bluez-5.29.tar.xz c. Browse - cd bluez-5.29 d. sudo apt-get update e. sudo apt-get install -y libusb-dev libdbus-1-dev libglib2.0-dev libudev-dev libical-dev libreadline-dev f. ./configure g. make h. sudo make install i. bluetoothctl -v

  2. After bluez is installed, source installed bluepy0.9.11.

    a. Download - wget https://github.com/IanHarvey/bluepy/tarball/v/0.9.11.tar.xz b. Extract - tar xvf 0.9.11 c. Browse - cd 0.9.11 d. sudo python setup.py build e. sudo python setup.py install

    Note: If you try to install bluepy0.9.11 before installing bluez, the install will error out.