hi,
i am very new with GNU Radio. now i am in process of installing the
GNU Radio but unfotunetly i still fail to install… i had try for 3
days.
i follow the GNU Radio installation Note by Naveen Manicka.i had
finished step one (installing the gnuradio-core). now when i want to
install gnuradio-example it tell me to set the phyton path environment
variable. i had run the command that it give in the installation note…
($ export PYTHONPATH=/usr/local/lib/python2.4/site-packages) but when i
type $phyton it dose not give feed back as in the note (>>> from
gnuradio import gr)
can any one help me? i am very sorry to post this very basic issue but
i am totally new in GNU Radio and i think i am the first to try GNU
Radio in my country. currently i am doing my master by Research.
thank you in advance.
adib sairi
I am sorry I didn’t exactly what you said by “feedback”. My help is
based on
what I understood.
-
Type python in terminal.
-
you will see something similar to this.
[email protected]:~$ python
Python 2.5.1 (r251:54863, Mar 7 2008, 03:41:45)
[GCC 4.1.2 (Ubuntu 4.1.2-0ubuntu4)] on linux2
Type “help”, “copyright”, “credits” or “license” for more
information.
-
Now type " from gnuradio import gr", it gives nothing as feedback if
it
is successfully imported. To see what modules are currently loaded type
dir() and you will find a list of modules currently loaded.
Good luck
Ali
Mohd adib Sarijari wrote am 2008-09-23 13:04:
hi,
i am very new with GNU Radio. now i am in process of installing the
GNU Radio but unfotunetly i still fail to install… i had try for 3
days.
i follow the GNU Radio installation Note by Naveen Manicka.
Please help us to help you with more information:
- Which system/OS are you using?
- If you use a guide from the Internet, please give us a URL so we can
compare.
i had
finished step one (installing the gnuradio-core). now when i want to
install gnuradio-example it tell me to set the phyton path environment
variable.
What exactly was the output?
i had run the command that it give in the installation note…
($ export PYTHONPATH=/usr/local/lib/python2.4/site-packages) but when i
type $phyton it dose not give feed back as in the note (>>> from
gnuradio import gr)
The $ is the prompt, that shows you that you can enter commands. The
following words are the commands to the shell. You must not enter the
$. The programs name is python, so you should enter only the name.
It is common to write commands with the $ in front to hint you to a
shell command. Sometimes it’s not $ but #, which means you should not
enter the commands as normal user as $ hints, but as root, the super
user.
can any one help me? i am very sorry to post this very basic issue but
i am totally new in GNU Radio and i think i am the first to try GNU
Radio in my country. currently i am doing my master by Research.
Seems you are not familiar with Unix/Linux. I’d recommend you to read a
beginners guide to Linux, and to read the Python Tutorial[1]
thank you in advance.
You’re welcome.
Patrick
–
Engineers motto: cheap, good, fast: choose any two
Patrick S.
Student of Telematik, Techn. University Graz, Austria
Patrick S. wrote am 2008-09-23 15:23:
[…] and to read the Python Tutorial[1]
That is:
[1] http://docs.python.org/tut/
Patrick
Engineers motto: cheap, good, fast: choose any two
Patrick S.
Student of Telematik, Techn. University Graz, Austria
Murtuza wrote:
I am sorry I didn’t exactly what you said by “feedback”. My help is
based on
what I understood.
-
Type python in terminal.
-
you will see something similar to this.
[email protected]:~$ python
Python 2.5.1 (r251:54863, Mar 7 2008, 03:41:45)
[GCC 4.1.2 (Ubuntu 4.1.2-0ubuntu4)] on linux2
Type “help”, “copyright”, “credits” or “license” for more
information.
-
Now type " from gnuradio import gr", it gives nothing as feedback if
it
is successfully imported. To see what modules are currently loaded type
dir() and you will find a list of modules currently loaded.
Good luck
Ali
thank you for the info. when i type python it does give me :
Python 2.5.1 (r251:54863, Mar 7 2008, 03:41:45)
[GCC 4.1.2 (Ubuntu 4.1.2-0ubuntu4)] on linux2
Type "help", "copyright", "credits" or "license" for more
information.
but when i type >>>from gnuradio import gr it give me this feedback
traceback(most recent call last):
importError: No module named gnuradio..
thanks also to Patrick for replying my msg , i am using fedora core 9,
iattach with this msg with the manual that i use…
What exactly was the output?
i had run the command that it give in the installation note…
($ export PYTHONPATH=/usr/local/lib/python2.4/site-packages) but when i
type $phyton it dose not give feed back as in the note (>>> from
gnuradio import gr)
it does not give any output yet. i just follow the step one by one… if
i am success installing the gnuradio-core, can i check with any command
that i am successfully installed it?
Hi,
You need to reference Python 2.5 instead of Python 2.4 for Fedora 9:
export PYTHONPATH=/usr/local/lib/python2.5/site-packages
You can also check that this directory exists and contains the GNU
Radio modules.
Raul S.
www.raulsiles.com
importError: No module named gnuradio..
thanks also to Patrick for replying my msg , i am using fedora core 9,
iattach with this msg with the manual that i use…
The verbose above says that you are running Ubunutu??
Anyway, if everything is installed, this is probably of an issue of some
path not being included:
For ubuntu: http://gnuradio.org/trac/wiki/UbuntuInstall
cp /etc/ld.so.conf /tmp/ld.so.conf
echo /usr/local/lib >> /tmp/ld.so.conf
sudo mv /tmp/ld.so.conf /etc/ld.so.conf
sudo ldconfig
For fedora: http://gnuradio.org/trac/wiki/FedoraInstall
x86 (32-bit) systems:
export PYTHONPATH=/usr/local/lib/python2.5/site-packages
X86-64 systems:
export PYTHONPATH=/usr/local/lib64/python2.5/site-packages
You can also run this from the command line before running GNU Radio
applications.
It is best to follow the guides above (fedora or ubuntu install). One
cannot be certain that off-site guides are gonna be up to date or
tailored for your particular OS.
-Josh