BTW, you can always try the simpler method: That is to find out the env that is used in PyCharm and use the pip there to install pytorch.
e.g. “C:\Users\join2\PycharmProjects\new3amd64\venv\Scripts\pip.exe” install http://download.pytorch.org/whl/cpu/torch-0.4.0-cp35-cp35m-win_amd64.whl 148