You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for sharing. I encountered the same problem while trying running this script on my Mac Monterey where python is python3 by default.
However, I consider redirecting the symbolic link a bit risky and overkill here. May I suggest you just changing the "python colorSchemeTool.py" to "python2 colorSchemeTool.py".
Generally, it is not good idea to modify symbolic link under /usr/bin manually unless you are fully-controlled it.
In most situation (especially there's package manager), you should update-alternatives (Debian-based, including Ububtu), alternatives (RHEL), or something similar if there are any.
Ran into some issues with running the script. But solved it easy with :
Before running the convert script, run:
sudo ln -sf python2 /usr/bin/python
After running the script convert back to python 3 with:
sudo ln -sf python3 /usr/bin/python
The text was updated successfully, but these errors were encountered: