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

Executing ubertooth-specan-ui gives ModuleNotFoundError: No module named 'specan' #495

Open
paulinaacostac opened this issue May 25, 2022 · 2 comments
Labels
technical support request for technical support

Comments

@paulinaacostac
Copy link

Steps to reproduce

  1. Running on macOS
  2. cd into /Users/iotlab/libbtbb-2020-12-R1/build/ubertooth-2020-12-R1/host/python/specan_ui
  3. Executing ubertooth-specan-ui

Expected behaviour

All the builds are completed so I should be able to execute the specs_ui and it should show the spectrum analyzer

Actual behaviour

It shows the following:

File "/usr/local/bin/ubertooth-specan-ui", line 32, in <module>
from specan import Ubertooth
ModuleNotFoundError: No module named 'specan'

When I run ls command I get:

specan is present, its just not finding the module somehow.

CMakeLists.txt setup.py ubertooth-specan-ui
README setup.py.in
build specan

Why is it not able to find specan which is in the same folder where I'm running this?

Any help appreciated!

@straithe straithe added the technical support request for technical support label Jul 15, 2022
@straithe
Copy link
Member

Thank you for opening this issue. I do not have much experience with macOS or have appropriate hardware to recreate this issue. Please bear with me while I find someone from the community who can assist with this issue.

@gilmarwsr
Copy link

I've the same problem... it's annoying but I could execute ubertooth-specan-ui successfully inside the source code folder (I've tried brew install ubertooth in MacOS, and I think I nave all dependencies installed).
So, you need to navigate to source code location:
{whatever}/ubertooth/host/python/specan_ui
and run:
python ubertooth-specan-ui

I'm using python3.10, all dependencies installed via pip.

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

No branches or pull requests

3 participants