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

Virgo working with Python Virtual Environments #23

Open
SteveBz opened this issue Feb 15, 2022 · 0 comments
Open

Virgo working with Python Virtual Environments #23

SteveBz opened this issue Feb 15, 2022 · 0 comments

Comments

@SteveBz
Copy link

SteveBz commented Feb 15, 2022

Hi Apostolos,

I always use virtual environments for my python code. (Python venv. I seem to get a crash when I use Virgo with venv. Like this:

  File "/home/image/pictor/venv/lib/python3.8/site-packages/virgo/virgo.py", line 525, in observe
    from run_wola import run_observation
ModuleNotFoundError: No module named 'run_wola'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "test.py", line 25, in <module>
    virgo.observe(obs_parameters=obs, obs_file='observation.dat')
  File "/home/image/pictor/venv/lib/python3.8/site-packages/virgo/virgo.py", line 527, in observe
    from .run_wola import run_observation
  File "/home/image/pictor/venv/lib/python3.8/site-packages/virgo/run_wola.py", line 9, in <module>
    from gnuradio import blocks
ModuleNotFoundError: No module named 'gnuradio'

I can hack round it, but really it needs a proper fix. If you want me to look into it some more, I can.

Kind regards

Steve

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

1 participant