Open meoso opened 6 years ago
Linux guide :
Somewhere in home directory:
wget https://github.com/Plasmatree/PID-Analyzer/archive/master.zip
unzip master.zip
cd PID-Analyzer-master
virtualenv -p python3 venv
source venv/bin/activate
pip install -r requirements.txt
build blackbox_decode (needed) Somewhere else in home directory (second console):
make obj/blackbox_decode
in unpacked directorysudo apt-get install make gcc
blackbox_decode
from obj
to PID-Analyzer-master
Run analyzer (run in first console - You must have virtualenv enabled):
python PID-Analyzer.py --blackbox_decode ./blackbox_decode -l /path/to/log/LOG.BFL
Add nice emoticon to this guide if it worked :+1: :roll_eyes: :smiley:
If you have multiple versions of Python installed you may need to specify pip3 instead of pip, and edit the PID-Analyzer.py script to use python3:
#!/usr/bin/env python3
i get this with or without the virt-env:
$ sudo pip3 install -r requirements.txt
[...]
Command "/usr/bin/python3 -m pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-u792xpp6 --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- wheel setuptools Cython "numpy==1.9.3; python_version=='3.5'" "numpy==1.12.1; python_version=='3.6'" "numpy==1.13.1; python_version>='3.7'"" failed with error code 1 in None
EDIT: However, if i skip the requirements.txt and install the packages manually by name only (not versions) they install successfully and was able to execute python3 ./PID-Analyzer.py -l ../input.BBL --blackbox_decode ./blackbox_decode
successfully
Ubuntu 19.04
Linux 5.0.0-32-generic #34-Ubuntu SMP Wed Oct 2 02:06:48 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Add nice emoticon to this guide if it worked +1 roll_eyes smiley
I also needed virtualenv
and python3-tk
(on Linux Mint 19.2) but then it worked great.
Thank you very much.
if it is python, then why no linux?