Creating new VScode project - ./helper.py: No such file or directory

I’m following the Electrosmith video guide to creating a new VS code project.

Typing “./helper.py create ./MyPprojects/ExampleProject --board seed” into Git Bash returns:

“bash: ./helper.py: No such file or directory”

I modified my Python install to ‘add python to environment variables’ (is this the same as adding to path?)

I’ve unticked all Python related things in ‘Add execution aliases’ (I’m on Windows 10) and restarted my computer.

I’m still getting same error message in Git Bash. Any clues to getting this up and running?

Hi Tom!

Other community members encountered the same issue and these were the solutions that they shared. Let me know if any of them work or not.

  • Adding python3 to the start of the line:
    python3 ./helper.py create ./MyProjects/ExampleProject --board seed

  • Creating a symlink that points python to python3
    ln -s $(which python3) /usr/local/bin/python
    source ~/.zshrc
    python --version

  • Updating the helper.py
    change - #!/usr/bin/env python to #!/usr/bin/env python3

Credits to emilianoandronico7272 and jeremysykes7920 in the comment section of this video