Restriction: this snap version works with a python in the snap environment. Therefore, we cannot use the python in /bin and modules in$PYTHONPATH. When you want to use opy with the modules you installed, please install opy from GitHub (https://github.com/ryuichiueda/opy) with the commands below. I would appreciate it if you could click the star on the repository page.
$ git clone https://github.com/ryuichiueda/opy.git
$ cd opy
$ sudo make install
The packages for RHEL 8 and RHEL 7 are in each distribution’s respective Extra Packages for Enterprise Linux (EPEL) repository. The instructions for adding this repository diverge slightly between RHEL 8 and RHEL 7, which is why they’re listed separately below.
The EPEL repository can be added to RHEL 8 with the following command: