Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python 3 #21

Open
richterdavid opened this issue Oct 5, 2020 · 2 comments
Open

Python 3 #21

richterdavid opened this issue Oct 5, 2020 · 2 comments

Comments

@richterdavid
Copy link

The Python 2 sunset date has passed, and the dependency on 2.7 in a networking setting is a security vulnerability waiting to happen. Please update to Python 3.

https://www.python.org/doc/sunset-python-2/

@ghost
Copy link

ghost commented Oct 6, 2020

on Raspberry Pi OS 10.4
Quick howto convert to python 3.7:

apt install 2to3
apt install python3-lib2to3
apt install python3-toolz
apt install python3-pip

2to3 read_waveplus.py --write
pip3 install bluepy

your bluepy dir

cd /usr/local/lib/python3.7/dist-packages/bluepy
chmod +x bluepy-helper

might also need sudo setcap 'cap_net_raw,cap_net_admin+eip' bluepy-helper

@ghost
Copy link

ghost commented Oct 6, 2020

or clone: https://github.com/kogant/waveplus-reader :-)

  • modified to write output to a json file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant