curl needs -L

Summary: As mentioned in a comment on https://github.com/facebookresearch/pytorch3d/issues/438, curl must be told to follow redirects.

Reviewed By: nikhilaravi

Differential Revision: D24870138

fbshipit-source-id: 0c8aeb5146f8699bcea03d4108276fc24e9eab6b
This commit is contained in:
Jeremy Reizenstein
2020-11-10 16:34:49 -08:00
committed by Facebook GitHub Bot
parent 47fafe2cce
commit 4296fd96c5
10 changed files with 10 additions and 10 deletions

View File

@@ -72,7 +72,7 @@
" except ModuleNotFoundError:\n",
" need_pytorch3d=True\n",
" if need_pytorch3d:\n",
" !curl -O https://github.com/NVIDIA/cub/archive/1.10.0.tar.gz\n",
" !curl -LO https://github.com/NVIDIA/cub/archive/1.10.0.tar.gz\n",
" !tar xzf 1.10.0.tar.gz\n",
" os.environ[\"CUB_HOME\"] = os.getcwd() + \"/cub-1.10.0\"\n",
" !pip install 'git+https://github.com/facebookresearch/pytorch3d.git@stable'"