install pytorch - vishalkhondre/devops GitHub Wiki

  • where python
  • C:\Users\firstname.lasstname\AppData\Local\Programs\Python\Python37\python.exe -m venv c:\aiwork\vkbert007
  • C:>.\aiwork\vkbert007\Scripts\activate
  • python -m pip install --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host files.pythonhosted.org --upgrade pip
  • pip install --upgrade --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host files.pythonhosted.org tensorflow==2.0.0
  • pip install --upgrade --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host files.pythonhosted.org --trusted-host download.pytorch.org torch==1.5.0 -f https://download.pytorch.org/whl/torch_stable.html
  • pip list