Some (Sub)Commands are Considered Invalid

Now you have entered the pip command in the OS shell. That is the correct shell. Unfortunately you are facing a next different error. You are now a step further to your goal. Please also try to understand this error (once again e.g. by googling or asking ChatGPT etc.).
In short terms:

  • You instruct pip to install libraries listed in the requirements.txt.
  • One of these libraries is torch: torch · PyPI
  • As you can see on the pypi site torch does currently not support Python 3.13.1 (your installation). The latest currently by torch supported version is Python 3.12.x: see also this thread: Python 3.13.1 neither supports pytorch nor tensorflow
  • A possible next step is to install the python version 3.12.8 from here: Python Releases for Windows | Python.org.
  • Then it would probably best if you de-install the Python 3.13.1 completely.
    Otherwise you must be extra carefully to invoke the correct python version 3.12 since normally the newest version is started by py.exe!