If you already have Python installed and usable as user, you can skip to the bottom.
We only require very few dependencies, namely Protobuf and PlatformIO. Most of the burden is on PlatformIO, which fortunately, can be installed as easy as a Python package.
If you don't want to deal with any of this, you can opt for a Dockerized build system.
Installing the Protobuf compiler is pretty easy, but every system has its own package managers and compilers.
Python and Pip¶
RFQuack needs Python 3.10.* installed and usable as
$USER. It's up to you to choose how you install and manage Python and Python packages in your system.
Check Python Installation¶
To verify that your Python installation is usable and you can install packages as user:
$ env python Python 3.10.5 (main, Sep 20 2022, 10:54:01) [Clang 14.0.0 (clang-1400.0.29.102)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> print("hello world") >>> hello world >>> exit()
Let's try to install a package:
If this completes well, you're good to go.
Have Pyenv and Poetry in Your Life¶
We highly recommend using Pyenv to manage Python on your system, and Poetry to manage Python project dependencies.
The follow the Pyenv post-installation instructions and install & select the latest Python 3.10.* version (3.10.5 at the time of writing).
Please follow the official documentation.
From now on, whenever you'll select the just-installed Python 3.10.* version, it'll come with Poetry.
Now you can install the actual dependencies needed by RFQuack:
Bonus: This will install the shorthand
rfq to start the RFQuack CLI Client