Open lefuturiste opened 5 years ago
it seems this is a python 3 support issue. I encounter this problem with cosim flow (python driver) but not with simulation
I encountered this issue with python 3.8. Anyone have a solution to build btproxy?
I encountered this issue with python 3.8. Anyone have a solution to build btproxy?
Replacing https://github.com/conorpp/btproxy/blob/master/lib/btproxy_clone.c#L118 with
#if PY_MAJOR_VERSION >= 3
at least makesbtproxy
run on my machine
If you don't want to edit the c file, you can also define a macro in btproxy/setup.py
git clone https://github.com/conorpp/btproxy
sed -i "12a\ \ \ \ define_macros=[('PYTHON34', 'true')]," btproxy/setup.py
cd btproxy
sudo python3 setup.py install
when running, whatever the case