snstac / adsbcot

Display Aircraft in TAK - ADS-B to TAK Gateway
https://adsbcot.rtfd.io
Apache License 2.0
86 stars 22 forks source link

ERROR from adsbcot Please reinstall adsbcot with pyModeS support: #23

Open ampledata opened 1 year ago

ampledata commented 1 year ago
          If you try to run debug with config, you gonna receive different err. output

DEBUG=1 adsbcot -c /configpath/myconfig.ini


ERROR from adsbcot Please reinstall adsbcot with pyModeS support: $ python3 -m pip install adsbcot[with_pymodes]


i am not a programmer.... however i think is something related to pymodes 2.15, the pymodes cannot be installed correctly in my machine

it seams there have problem with pymodes and python version in my case Python 2.7.18 or Python 3.8.10 i am not sure which one is used.

Originally posted by @daskalovst in https://github.com/ampledata/adsbcot/issues/22#issuecomment-1416060424

ampledata commented 1 year ago

@daskalovst Are you running adsbcot on an Adsbexchange Pi image?

daskalovst commented 1 year ago

no Ubuntu Server 22.10, defenatlei issue is with the old version of Python with 3.10.X can be installed i can now install with git clone method

also the installation method down not work on Ubuntu Server the issue is the the path in the .service file point to nowhere python3 -m pip install adsbcot[with_pymodes] sudo journalctl -xef adsbcot.service: Failed to locate executable /usr/bin/adsbcot: No such file or directory

for Ubuntu 22.4 & Ubuntu Server 22.10 the proper path is: ubuntu@ubuntu:~$ which adsbcot /home/ubuntu/.local/bin/adsbcot

For latest raspbian cannot be installed with pip Installing collected packages: multidict, frozenlist, yarl, charset-normalizer, attrs, async-timeout, aiosignal, pyzmq, pytak, numpy, aircot, aiohttp, pymodes, adsbcot WARNING: The script normalizer is installed in '/home/tak/.local/bin' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location. WARNING: The scripts f2py, f2py3 and f2py3.9 are installed in '/home/tak/.local/bin' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location. WARNING: The script modeslive is installed in '/home/tak/.local/bin' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location. WARNING: The script adsbcot is installed in '/home/tak/.local/bin' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location. Successfully installed adsbcot-5.1.2 aiohttp-3.8.3 aiosignal-1.3.1 aircot-1.2.0 async-timeout-4.0.2 attrs-22.2.0 charset-normalizer-2.1.1 frozenlist-1.3.3 multidict-6.0.4 numpy-1.24.1 pymodes-2.15 pytak-5.6.1 pyzmq-24.0.1 yarl-1.8.2 tak@tak:~ $ which adsbcot

gncnpk commented 1 year ago

So my solution to this was installing pyModeS 2.11 using this command: sudo pip install --upgrade pymodes==2.11