'The term 'submit50' is not recognized as the name of a cmdlet, function, script file, or operable program

I'm using VScode in windows 11, with the integrated powershell terminal. After running pip3 install submit50 (and also pip3 install --upgrade submit50 just in case).

When running submit50 ai50/projects/2020/x/tictactoe I get the following error:

submit50 : The term 'submit50' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path   
was included, verify that the path is correct and try again.
+ submit50 ai50/projects/2020/x/tictactoe
+ ~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (submit50:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

other python and pip commands are running fine on my machine. What did I do wrong here?

Python: Python 3.10.1 (tags/v3.10.1:2cd268a, Dec 6 2021, 19:10:37) [MSC v.1929 64 bit (AMD64)] on win32

Pip: pip 22.0.3 from C:\Python310\lib\site-packages\pip (python 3.10)



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source