Install & Compatibility
Where this runs
tested against v0.1.28 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
py 3.10
✕ build_error
✓ 76.9s
py 3.11
✕ build_error
✓ 69.2s
py 3.12
✕ build_error
✓ 65.5s
py 3.13
✕ build_error
✓ 57.8s
py 3.9
✕ build_error
✕ timeout
4813MB installed
● package 4813MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
SMPL
✓ from smplx import SMPL
✗ from smplx.smpl import SMPL
Deprecated in favour of top-level import
SMPLX
✓ from smplx import SMPLX
✗ from smplx.smplx import SMPLX
Deprecated internal module
SMPLH
✓ from smplx import SMPLH
Initialize the SMPL-X model and run a forward pass with placeholder poses and shape parameters.
import torch
from smplx import SMPLX
model = SMPLX(model_path='models/', gender='neutral')
body_pose = torch.zeros(1, 63)
betas = torch.zeros(1, 10)
output = model(body_pose=body_pose, betas=betas)
print(output.vertices.shape)
Errors
Common errors & fixes
FileNotFoundError: [Errno 2] No such file or directory: 'models/SMPLX_NEUTRAL.npz'
Model files not present in the specified path or wrong model_path.
fixDownload model files from https://smpl-x.is.tue.mpg.de/ and place them in the correct directory.
ModuleNotFoundError: No module named 'smplx.smplx'
Using deprecated import path after update.
fixUse 'from smplx import SMPLX' instead of 'from smplx.smplx import SMPLX'.
TypeError: __init__() got an unexpected keyword argument 'model_folder'
Old argument 'model_folder' not recognized in current version.
fixUse 'model_path' instead of 'model_folder'.
Upgrade
Version history
0.1.28latest on PyPI · released May 26, 2021
Audit
Dependencies
torchrequiredCore dependency for tensor operations
numpyrequiredArray operations for data conversion