windows – WSL not recognizing commands after variables added to PATH

Hi I was having problems with Julia and PySpark within WSL.

I added scala, python and spark and Julia to my path as such:

C:UsersMEDocumentsscalabin
C:UsersMEDocumentssparkbin
C:UsersMEAppDataLocalProgramsJulia 1.5.1bin
C:UsersMEAppDataLocalProgramsPythonPython38

When I go to my Windows Terminal:

When I type Julia I get:

Command ‘julia’ not found, but can be installed with:

sudo apt install julia

When I type pyspark I get:

env: ‘python’: No such file or directory

But when I type spark-shell it works which I found weird.

If I left out any required information please let me know I’m new to the command line but I am eager to learn.