See partial sample of the error
```bash
converting ./vscThemes/min-dark.json to ./tmThemes/min-dark.tmTheme ... #min-dark.json is the theme I tried to convert
converting ./tmThemes/Active4D.tmTheme to ./intellijThemes/Active4D.icls ...
./convert.sh: line 31: python : command not found
converting ./tmThemes/All Hallow's Eve.tmTheme to ./intellijThemes/All Hallow's Eve.icls ...
./convert.sh: line 31: python : command not found
converting ./tmThemes/Amy.tmTheme to ./intellijThemes/Amy.icls ...
./convert.sh: line 31: python : command not found
converting ./tmThemes/Blackboard.tmTheme to ./intellijThemes/Blackboard.icls ...
./convert.sh: line 31: python : command not found
...
converting ./tmThemes/Zenburnesque.tmTheme to ./intellijThemes/Zenburnesque.icls ...
./convert.sh: line 31: python : command not found
```
On PopOs you can't install python by using the basic command line sudo apt install python, it ended up with an error. But by default, it's already installed (and I think up to date) or it can be installed with sudo apt install python2.
Problem
When I run the sh scrip
./convert.sh
, it turns out that:✔️ Convertion
.json
→tmTheme
succeed ❌ Convertion.tmTheme
→.icls
failedSee partial sample of the error
```bash converting ./vscThemes/min-dark.json to ./tmThemes/min-dark.tmTheme ... #min-dark.json is the theme I tried to convert converting ./tmThemes/Active4D.tmTheme to ./intellijThemes/Active4D.icls ... ./convert.sh: line 31: python : command not found converting ./tmThemes/All Hallow's Eve.tmTheme to ./intellijThemes/All Hallow's Eve.icls ... ./convert.sh: line 31: python : command not found converting ./tmThemes/Amy.tmTheme to ./intellijThemes/Amy.icls ... ./convert.sh: line 31: python : command not found converting ./tmThemes/Blackboard.tmTheme to ./intellijThemes/Blackboard.icls ... ./convert.sh: line 31: python : command not found ... converting ./tmThemes/Zenburnesque.tmTheme to ./intellijThemes/Zenburnesque.icls ... ./convert.sh: line 31: python : command not found ```Solution
I got it work by changing:
with
python2 -V
:Python 2.7.18
More
On PopOs you can't install python by using the basic command line
sudo apt install python
, it ended up with an error. But by default, it's already installed (and I think up to date) or it can be installed withsudo apt install python2
.Config:
Here is the result of
cat /etc/os-release
: