drmpeg / gr-dvbs

A DVB-S transmitter for GNU Radio
GNU General Public License v3.0
41 stars 11 forks source link

problem module swig #2

Open vanhoteen opened 5 years ago

vanhoteen commented 5 years ago

Hi friends, I have a problem that generates me, I have ubuntu 16.04

python ./dvbs_tx.py Traceback (most recent call last): File "./dvbs_tx.py", line 31, in import dvbs File "/usr/local/lib/python2.7/dist-packages/dvbs/init.py", line 45, in from dvbs_swig import * ImportError: No module named dvbs_swig

Can you help me

drmpeg commented 5 years ago

How did you install GNU Radio? You have to install gr-dvbs into the same directory that you installed GNU Radio.

If you used apt-get to install, then GNU Radio is in /usr. To install gr-dvbs into /usr, you have to set an install prefix with cmake. Like so:

cmake -DCMAKE_INSTALL_PREFIX=/usr

vanhoteen commented 5 years ago

thanks, I was lost, I have the gnuradio in / etc I don't know if it's normal, just install as the manual says .Thanks for responding so quickly