error: snap "pycharm-professional" has "install-snap" change in progress code example
Example: How to fix snap "pycharm-community" has "install-snap" change in progress
# Write in terminal:
sudo apt install snapd
# Then write
sudo snap install pycharm-educational --classic