FileNotFoundError: python develop

I try python develop and python build develop ,but both get the error

Traceback (most recent call last):
  File "", line 719, in <module>
  File "", line 285, in build_deps
  File "C:\Users\Jay\pytorch\tools\", line 259, in build_caffe2
  File "C:\Users\Jay\pytorch\tools\", line 239, in run_cmake
    check_call(cmake_args, cwd=build_dir, env=my_env)
  File "C:\Users\Jay\Anaconda3\lib\", line 306, in check_call
    retcode = call(*popenargs, **kwargs)
  File "C:\Users\Jay\Anaconda3\lib\", line 287, in call
    with Popen(*popenargs, **kwargs) as p:
  File "C:\Users\Jay\Anaconda3\lib\", line 729, in __init__
    restore_signals, start_new_session)
  File "C:\Users\Jay\Anaconda3\lib\", line 1017, in _execute_child
FileNotFoundError: [WinError 2] 系統找不到指定的檔案。

someone knows how to deal with this?
python version: 3.6.8
anaconda version: 1.7.2

It happened to me when I forgot to install some python packages.

pip install --upgrade setuptools


pip install astunparse numpy ninja pyyaml mkl mkl-include setuptools cmake cffi typing_extensions future six requests dataclasses

solved the issue. If you’re using Anaconda just replace pip with conda in the second line. More info here: Building PyTorch from source on Windows to work with an old GPU