lneuhaus / pyrpl

pyrpl turns your RedPitaya into a powerful DSP device, especially suitable as a lockbox in quantum optics experiments.
http://lneuhaus.github.io/pyrpl/
MIT License
139 stars 109 forks source link

Problem with pitaya OS 2.00-18 #505

Open rogerkogler opened 10 months ago

rogerkogler commented 10 months ago

While trying to run PyRPL with the last stable pitaya OS I was receiving a ZeroDivisionError after a few seconds. Downgrading the OS version of the red pitaya to 1.04-18 solved the problem. Did not tested with other versions.

hk06319 commented 8 months ago

It's occurring for me on an older version of Redpitaya OS 1.04. I am still unable to figure it out, may be a problem with the python package upgrade.

rogerkogler commented 8 months ago

Could be. If it helps, here is the recipe that worked for me. The sequence creates an environment, access it and match the versions of the packages that are compatible with pyRPL.

hope it helps.

conda create -n pyrpl python=3.9 numpy=1.19 pyqtgraph=0.12 pandas=1.3 scipy paramiko nose pip pyqt qtpy=1.9.0 pyyaml ipywidgets notebook conda activate pyrpl pip uninstall pyopenssl cryptography pip install pyopenssl==22.0.0 cryptography==36.0.2 pip install quamash pip install scp git clone https://github.com/lneuhaus/pyrpl.git YOUR_ENV-ADDRESS/pyrpl Run your code inside the cloned folder