Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with pitaya OS 2.00-18 #505

Open
rogerkogler opened this issue Dec 1, 2023 · 4 comments
Open

Problem with pitaya OS 2.00-18 #505

rogerkogler opened this issue Dec 1, 2023 · 4 comments

Comments

@rogerkogler
Copy link

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

hk06319 commented Jan 31, 2024

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
Copy link
Author

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

danielbrown2 added a commit to danielbrown2/pyrpl that referenced this issue Oct 6, 2024
danielbrown2 added a commit to danielbrown2/pyrpl that referenced this issue Oct 6, 2024
JohannesWes pushed a commit to JohannesWes/pyrpl that referenced this issue Nov 7, 2024
peteasa added a commit to peteasa/pyrpl that referenced this issue Nov 8, 2024
@pritwish11
Copy link

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

will it work for the latest version of pyRPL and the RP OS 1.04-18 in Windows 11? I want to avoid using GUI because I just cannot make it work. I have tried hundreds of combinations of RP OS, PyRPL versions and python modules and it just won't work.

@michaelcroquette
Copy link
Collaborator

PyRPL is not tested with the latest RP OS unfortunately, it's on the todo list. If you follow the standard installation using anaconda or pip, you should be able to make it work though. There are some config file to setup your environment the right way in the main repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants