Hi Danny, Thank you very much, it seems to be ok! What I did was... Clone the git, change the branch to py3-merge, pip install -r requirements, python setup.py install...
Then from from Ipython I got: In [1]: import casperfpga In [2]: casperfpga.__version__ Out[2]: '0.4.4.dev1032+py3.merge.c536a4d' In [6]: fpga.is_connected() Out[6]: True Thank you very much! El lun, 22 mar 2021 a las 10:35, Danny C Price (<dan...@berkeley.edu>) escribió: > > Hi Guillermo, > > You could try this branch: > https://github.com/casper-astro/casperfpga/tree/py3-merge > > This works for my purposes in Py3 (with the snap board), with the *huge* > caveat that adc calibration doesnt work. (Ive heard that this has been solved > by Aaron and Jonathon but not merged). > > Cheers, > Danny > > > On Mon, 22 Mar 2021, 21:28 Guillermo Gancio, <ganci...@gmail.com> wrote: >> >> Dear all, >> >> I'm trying the python3-port of casperfpga, from >> https://github.com/ska-sa/casperfpga/tree/python3-port >> I had to fix some minnor issues like >> "except KatcpClientError, e: " to "(except KatcpClientError, e): >> and >> "from thread" to "from _thread" >> which I'm not sure if they are ok.... >> And then I got the following error while doing "import casperfpga" in >> ipython, that I cannot figure out.. >> >> /home/user1/casperfpga3/lib/python3.7/site-packages/katcp/resource_client.py >> in <module>() >> 847 '{1!s}'.format(sensor_name, >> reply)) >> 848 # Register with the ABC >> --> 849 >> resource.KATCPSensorsManager.register(KATCPClientResourceSensorsManager) >> 850 >> 851 class KATCPClientResourceRequest(resource.KATCPRequest): >> >> AttributeError: type object 'KATCPSensorsManager' has no attribute 'register' >> >> Any idea? >> Thanks. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "casper@lists.berkeley.edu" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to casper+unsubscr...@lists.berkeley.edu. >> To view this discussion on the web visit >> https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CA%2BEePfS%3DVnQKv-E%2ByQpDOWJm7gRxZn2HcX8N-2K-JefPqvHX2g%40mail.gmail.com. > > -- > You received this message because you are subscribed to the Google Groups > "casper@lists.berkeley.edu" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to casper+unsubscr...@lists.berkeley.edu. > To view this discussion on the web visit > https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CAAtMgq%3DdgbqHJK4iGw8t1Zfeji1dbLrcHOMUoP6FWs%2BpWd%2BC8w%40mail.gmail.com. -- You received this message because you are subscribed to the Google Groups "casper@lists.berkeley.edu" group. To unsubscribe from this group and stop receiving emails from it, send an email to casper+unsubscr...@lists.berkeley.edu. To view this discussion on the web visit https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CA%2BEePfSJmqiL4mPdVNU%2B8kKmQEZdGDkm8zjdBOuwh4r75XFC3A%40mail.gmail.com.