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

adsbexchange Pi image fails to install #19

Open
dbussert opened this issue Jan 4, 2023 · 5 comments
Open

adsbexchange Pi image fails to install #19

dbussert opened this issue Jan 4, 2023 · 5 comments

Comments

@dbussert
Copy link

dbussert commented Jan 4, 2023

Install fails on python3 -m pip install adsbcot[with_pymodes], this is with fresh adsbexchange image running on a Pi3.

pi@adsbexchange:~ $ python3 -m pip install adsbcot[with_pymodes]
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting adsbcot[with_pymodes]
  Downloading https://www.piwheels.org/simple/adsbcot/adsbcot-5.1.1-py3-none-any.whl (13 kB)
Collecting pytak>=5.4.0
  Downloading https://www.piwheels.org/simple/pytak/pytak-5.4.1-py3-none-any.whl (21 kB)
Collecting aircot>=1.2.0
  Downloading https://www.piwheels.org/simple/aircot/aircot-1.2.0-py3-none-any.whl (12 kB)
Collecting aiohttp<4.0.0
  Downloading https://www.piwheels.org/simple/aiohttp/aiohttp-3.8.3-cp39-cp39-linux_armv7l.whl (926 kB)
     |████████████████████████████████| 926 kB 284 kB/s
Collecting pymodes>=2.8
  Downloading pymodes-2.14.tar.gz (392 kB)
     |████████████████████████████████| 392 kB 1.9 MB/s
ERROR: Exception:
Traceback (most recent call last):
  File "/usr/share/python-wheels/resolvelib-0.5.4-py2.py3-none-any.whl/resolvelib/resolvers.py", line 171, in _merge_into_criterion
    crit = self.state.criteria[name]
KeyError: 'pymodes'
@dbussert
Copy link
Author

dbussert commented Jan 4, 2023

this issue indicates this is known, but it's not clear that the README.md was actually updated to say not to use pymodes? #15

@ampledata
Copy link
Collaborator

@dbussert thanks for the heads-up on this. I don't remember how I got this all mixed up. I'm pretty sure I did have non-http working on my adsbexchange pi, but then again, I should've also mentioned the http workaround like I said I would. I'll dig in a report back.

@ampledata
Copy link
Collaborator

ampledata commented Jan 19, 2023

PYTHONPATH=./local/lib/python3.9 DUMP1090_URL=tcp+beast://localhost .local/bin/adsbcot
2023-01-19 22:46:57,091 pytak INFO - COT Dest: udp://239.2.3.1:6969
2023-01-19 22:46:57,095 pytak INFO - COT Dest: udp://239.2.3.1:6969
2023-01-19 22:46:57,095 pytak INFO - Run: <class 'pytak.classes.CLITool'>
2023-01-19 22:46:57,105 pytak INFO - Running <class 'adsbcot.classes.ADSBNetReceiver'> for tcp+beast://localhost
2023-01-19 22:46:57,110 pytak INFO - Running <class 'adsbcot.classes.ADSBNetWorker'> for data_type: beast
2023-01-19 22:46:57,111 pytak INFO - Run: <class 'pytak.classes.TXWorker'>
2023-01-19 22:46:57,112 pytak INFO - Run: <class 'pytak.classes.RXWorker'>```

@ampledata
Copy link
Collaborator

ampledata commented Jan 19, 2023

@dbussert if you don't mind testing again, can you try:

sudo apt install libatlas-base-dev

or

python3 -m pip install pyrtlsdr

Then try to install pymodes again?

@dbussert
Copy link
Author

I ended up switching to HTTP mode, which worked fine. This might be OBE now that adsbexchange has imploded. If

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

2 participants