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
>
>
>
>
>
>

Reply via email to