I can't say I'm a huge fan of yum. It looks like iniparse isn't installed. To 
confirm, just fire-up a python session and try "import iniparse". If that 
doesn't work, then you just need to install it. If it *does* work, then you've 
got something wrong with your python installation (or perhaps multiple 
versions).

You can try: 1) building iniparse from source, or 2) use python setuptools: 
easy_install iniparse

If all you want to do is talk to ROACH boards, without using any of the 
correlator logic, then just import the katcp_wrapper part of corr, and ignore 
the rest. At some stage I'll clear up these dependencies so that it only loads 
the modules needed at any time, rather than a bulk import at the beginning.

Jason

On 29 Jan 2013, at 17:18, Alex Medina wrote:

> Hi community. 
> 
> I need help me with Installation of CORR libraries. I have Centos 5.6, Xilinx 
> 11.4 and Matlab2009b, and Python 2.6.8 installed. 
> 
> I have a scripts of python for run, however, when I installed the Python 
> libraries, I had problems with python26-devel and python26-distruibute, 
> because I could not find it in repositories. I installed python-devel.x86_64 
> and python-setuptools.noarch from repositories, but the problems continues. 
> When I execute a script of Python ( I run the Tutorial 4), the error says.   
> 
> Traceback (most recent call last):
>   File "init_correlator.py", line 14, in <module>
>     import corr,time,numpy,struct,sys,logging,pylab
>   File "/usr/local/lib/python2.6/site-packages/corr/__init__.py", line 11, in 
> <module>
>     import cn_conf, katcp_wrapper, log_handlers, corr_functions, corr_wb, 
> corr_nb, corr_ddc, scroll, katadc, iadc, termcolors, rx, sim, snap
>   File "/usr/local/lib/python2.6/site-packages/corr/cn_conf.py", line 1, in 
> <module>
>     import iniparse, exceptions, socket, struct, numpy, os
> ImportError: No module named iniparse
> 
> 
> I installed python-iniparse.noarch too, from repositories. So I don't 
> understand.
> 
> I was following  the steps of the tutorial in 
> https://casper.berkeley.edu/wiki/Toolflow. 
> 
> Who can help me?
> 
> Best Regards.  
> -- 
> 
> Alex Medina Muñoz
> Electronic Engineer Student
> Universidad Tecnica Federico Santa María 


Reply via email to