Another option is to install Spead, which is available at http://pypi.python.org/pypi/spead
When I installed Corr on a new machine last week, I was able to find most of the dependencies at the main Python site as above. One note: if you get a 'c1plus' error or similar, it means that your installed version of g++ is too old to install that package so you need to update it. -----Alexander On Mon, Aug 6, 2012 at 7:14 AM, Patrice RENAUD <[email protected] > wrote: > OK , thanks! > I precise also that package corr 0.6.5 installs well under Windows , and > not corr 0.6.9 (because of spead module with C extensions) > > Patrice > > Le 06/08/2012 16:03, G Jones a écrit : > > Hi, >> For anyone who runs into these dependency problems: Please note that >> you can simply install the katcp_wrapper.py file into your python path >> and it will work independently of the rest of corr (you'll still need >> katcp installed of course). You can then use the functions simply by >> doing: >> >> import katcp_wrapper >> fpga = katcp_wrapper.FpgaClient(.... >> >> >> Glenn >> >> On Mon, Aug 6, 2012 at 2:58 AM, Patrice RENAUD >> <[email protected]> wrote: >> >>> Hi Jason, >>> >>> SPEAD seems unfortunately mandatory, even for basic FPGA interfacing >>> functionality :-( ? >>> >>> Python 2.7.1 (r271:86832, Nov 27 2010, 18:30:46) [MSC v.1500 32 bit >>> (Intel)] >>> on win32 >>> Type "help", "copyright", "credits" or "license" for more information. >>> >>>> >from corr import katcp_wrapper >>>>> >>>> Traceback (most recent call last): >>> File "<stdin>", line 1, in <module> >>> File "D:\Python27\lib\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 "D:\Python27\lib\site-**packages\corr\rx.py", line 12, in >>> <module> >>> import spead >>> ImportError: No module named spead >>> Patrice >>> >>> Le 13/07/2012 20:08, Jason Manley a écrit : >>> >>> I doubt you'll get SPEAD compiled for Windows! Fortunately, you don't >>> actually need SPEAD to use the basic FPGA interfacing functionality of >>> corr. >>> But if you want to use corr to control a packetised correlator, then >>> you'll >>> want the SPEAD metadata to be issued. >>> >>> Jason >>> >>> On 13 Jul 2012, at 15:37, Patrice RENAUD wrote: >>> >>> Thanks Jason. >>> I have still a problem with python package spead-0.4.0 installation: >>> Lot of things due to Windows C++ compiler, not found .h files, and so >>> on.... >>> >>> Would you have an example of a Windows configuration, which works well, >>> to >>> install spead (and its C dependencies) and then be able to use corr >>> package? >>> >>> Patrice >>> >>> Le 12/07/2012 09:49, Jason Manley a écrit : >>> >>> You don't need to use all of corr. The package will install without any >>> of >>> the dependancies. But if you try to do "import corr", you will get >>> dependency errors. Instead, try "from corr import katcp_wrapper". Then do >>> myfpgaobject=katcp_wrapper.**FpgaClient... >>> >>> Detailed requirements and explanations can be found here: >>> https://casper.berkeley.edu/**wiki/Corr<https://casper.berkeley.edu/wiki/Corr> >>> >>> Jason >>> >>> On 12 Jul 2012, at 09:40, Patrice RENAUD wrote: >>> >>> Hi, >>> >>> I want to configure a Roach 2 board from Python(2.7)/Windows 7 >>> I intend to use Python Corr package. >>> There are a lot of Python packages dependencies, it seems that Coor >>> package >>> can make a lot of sophisticated things and I want to do only basic >>> configuration: load a firmware, and that's all for the moment. >>> >>> I will have to do that with others Windows PC. >>> Does a minimal Python package exists to do that, with a minimum >>> additionnal >>> packages to install ? >>> >>> Thanks a lot for your informations ! >>> >>> Patrice >>> >>> -- >>> Patrice RENAUD >>> Observatoire de Paris - Station de Radioastronomie de Nancay >>> Tel: 02 48 51 87 21 Fax: 02 48 51 83 18 >>> Email: [email protected] >>> >>> >>> >>> >>> -- >>> Patrice RENAUD >>> Observatoire de Paris - Station de Radioastronomie de Nancay >>> Tel: 02 48 51 87 21 Fax: 02 48 51 83 18 >>> Email: [email protected] >>> >>> >>> >>> >>> >>> -- >>> Patrice RENAUD >>> Observatoire de Paris - Station de Radioastronomie de Nancay >>> Tel: 02 48 51 87 21 Fax: 02 48 51 83 18 >>> Email: [email protected] >>> >> > > -- > Patrice RENAUD > Observatoire de Paris - Station de Radioastronomie de Nancay > Tel: 02 48 51 87 21 Fax: 02 48 51 83 18 > Email: [email protected] > > > >

