Welcome to pyrpl Discussions! #1
Replies: 2 comments 3 replies
-
To kick things off.. if you want to use my consolidated_python3 branch this is how my simple install works: Step by step instructions for "simple install" using Ubuntu 24.04 LTS:
Next on ubuntu host install the necessary python3 packages used by pyrpl:
Next create your project directory and link to the pyrpl library
Now you are set to create python3 code or create .ipynb files in your project folder and connect using import pyrpl. There are other install processes that may work better for you. In my case this is simple and easy so I have no need for other python package managers or virtual environments. The https://github.com/peteasa/pyrpl/tree/consolidate_python3 branch is my work in progress branch.. but it works so use if it you want. Best also check out https://github.com/pyrpl-fpga/pyrpl main branch and https://github.com/redpitaya/pyrpl main branch. If you want a "ready made" test project then why not clone my https://github.com/peteasa/pyrpl_testbench code. I have put there a number of the things that I have tried whilst characterising the pyrpl code. |
Beta Was this translation helpful? Give feedback.
-
Thanks for your efforts! I do not expect the gui launch to work from within a notebook with my version, although I get a different symptom to pyrpl-fpga#520. In my case the file https://github.com/peteasa/pyrpl/blob/consolidate_python3/pyrpl/async_utils.py is a bit of a mess as described in RedPitaya#7 (comment) and more detail for my case in RedPitaya#7 (comment). Basically pyrpl uses Qt in the background for async operation as well as for the GUI, however there is a clash between ipython / jupyter and pyrpl. I am sure that some bright person will be able to fix this for all the various use cases of pyrpl, however I only expect the gui to work from the command line:
If you want to try out the main branch version of async_utils.py just take a local copy and overwrite my version of async_utils.py and you might get a different experience! Let me know.. its possible that for other environments my version of async_utils.py is just no good! |
Beta Was this translation helpful? Give feedback.
-
👋 Welcome!
I am using Discussions as a place to connect with other members of our community to discuss my personal proposals for python3 code changes to pyrpl. I hope that you:
build together 💪.
Beta Was this translation helpful? Give feedback.
All reactions