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

Python Code Block - Issue in GNURadio with the bitstring module #4

Open
owe-eorg opened this issue May 25, 2022 · 1 comment
Open

Comments

@owe-eorg
Copy link

owe-eorg commented May 25, 2022

Hey there, I'm trying to get your project to work on my maschine (Win10) and it actually seems to be possible, however I'm a GNURadio novice and am unable to resolve the following issue:

"Param - Code(_source_code):
Can't interpret source code: No module named 'bitstring'" in Python Block

I've followed your instructions and installed/check for python, bitstring and numpy.

What I've tried so far:

  • reinstalling of the components
  • researching possible compatibility issues of the newer software versions
  • uninstalling components (numpy, bitstring) to see, whether the error message changes (it doesn't)

Any help on fixing this issue is highly appreciated!

Thanks in advance

This is what's shown when you freshly open the .grc in GNURadio
Unbenannt

@elektronika-ba
Copy link

I am using GNURadio-3.7, it has Python version 2.7

To resolve this issue, you must specify target location for the bitstring library to be installed via PIP.

For me this worked:

pip install --target "D:\Program Files\GNURadio-3.7\gr-python27\lib\site-packages" -Iv bitstring==3.1.5

The target path specified is where you installed GNURadio, plus the location to "site-packages".

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