@@ -45,10 +45,10 @@ pip install scikit-image matplotlib imageio
45
45
pip install black isort flake8 flake8-bugbear flake8-comprehensions
46
46
```
47
47
48
- ## Build/Install Pytorch3d
48
+ ## Installing prebuilt binaries for Pytorch3d
49
49
After installing the above dependencies, run one of the following commands:
50
50
51
- ### 1. Install from Anaconda Cloud
51
+ ### 1. Install with CUDA support from Anaconda Cloud, on Linux only
52
52
53
53
```
54
54
# Anaconda Cloud
@@ -60,14 +60,26 @@ Or, to install a nightly (non-official, alpha) build:
60
60
# Anaconda Cloud
61
61
conda install pytorch3d -c pytorch3d-nightly
62
62
```
63
+ ### 2. Install without CUDA support from PyPI, on Linux and Mac
64
+ ```
65
+ pip install pytorch3d
66
+ ```
67
+
68
+ ## Building / installing from source.
69
+ CUDA support will be included if CUDA is enabled or if the environment variable
70
+ ` FORCE_CUDA ` is set to ` 1 ` .
63
71
64
- ### 2 . Install from GitHub
72
+ ### 1 . Install from GitHub
65
73
```
66
74
pip install 'git+https://github.com/facebookresearch/pytorch3d.git'
67
- # (add --user if you don't have permission)
68
75
```
69
76
70
- ### 3. Install from a local clone
77
+ ** Install from Github on macOS:**
78
+ ```
79
+ MACOSX_DEPLOYMENT_TARGET=10.14 CC=clang CXX=clang++ pip install 'git+https://github.com/facebookresearch/pytorch3d.git'
80
+ ```
81
+
82
+ ### 2. Install from a local clone
71
83
```
72
84
git clone https://github.com/facebookresearch/pytorch3d.git
73
85
cd pytorch3d && pip install -e .
0 commit comments