Hi Hong, Thank you very much. It works now.
Best, Renjie 2012-03-30 发件人: Hong Chen 发送时间: 2012-03-30 17:43:45 收件人: Zhu Renjie 抄送: casper 主题: Re: Re: [casper] Corr test Hi Renjie, You can find information about the spead module here: https://casper.berkeley.edu/wiki/SPEAD and here: https://github.com/ska-sa/PySPEAD For more information about the dependencies of corr, maybe you could check out this page: https://github.com/ska-sa/corr Requires: - iniparse, numpy, matplotlib (if plotting outputs), katcp, PySPEAD, construct Recommended: - katsdisp, the standalone KAT signal display package for visualising output. These modules should be all you need for Corr to work. Best, Hong On Fri, Mar 30, 2012 at 1:55 AM, Zhu Renjie <[email protected]> wrote: Hi, Hong Thank you for your information. I downloaded the construct package and copy it to the location. But another error message was founded. from corr import katcp_wrapper Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/local/lib/python2.6/dist-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/dist-packages/corr/rx.py", line 5, in <module> import spead ImportError: No module named spead These package seems not regular for the python, because when I use 'apt-get install', it can not find the constuct module and the spead module. Best Reguards Renjie -----原始邮件----- 发件人: "Hong Chen" <[email protected]> 发送时间: 2012年3月30日 星期五 收件人: "Zhu Renjie" <[email protected]> 抄送: [email protected] 主题: Re: [casper] Corr test Hi Renjie, I think you just need to install the python module "construct" by doing something like "yum install python-construct", or as this (http://construct.wikispaces.com/install) says, just download the zip file and extract it to "/usr/local/lib/python2.6/dist-packages/". (Are you using Ubuntu? The webpage says site-packages but I think it should be dist-packages in your case). Hope it works, Hong On Thu, Mar 29, 2012 at 11:57 PM, Zhu Renjie <[email protected]> wrote: Dear all, I try the basic ROACH board interaction. When I instantiate an FpgaClient object with 'from corr import katcp_wrapper' with python. The error message is: >>> from corr import katcp_wrapper Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/local/lib/python2.6/dist-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/dist-packages/corr/corr_functions.py", line 53, in <module> import corr, time, sys, numpy, os, logging, katcp, struct, construct ImportError: No module named construct How can I deal with this problem? Best Regards Renjie Zhu

