Skip to content

Commit

Permalink
Add CONDA_PREFIX to interactive_blender.sh to fix missing Python.h he…
Browse files Browse the repository at this point in the history
…aders
  • Loading branch information
araistrick authored and pvl-bot committed Nov 11, 2024
1 parent 7693091 commit 26c00d7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions docs/Installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ On Linux / Mac / WSL:
```bash
git clone https://github.com/princeton-vl/infinigen.git
cd infinigen
conda create --name infinigen python=3.11
conda activate infinigen
```

Then, install using one of the options below:
Expand Down
2 changes: 1 addition & 1 deletion scripts/install/interactive_blender.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,4 @@ fi
# Install Blender dependencies
"${BLENDER_PYTHON}" -m ensurepip

CFLAGS="-I/usr/include/python3.11 ${CFLAGS}" "${BLENDER_PYTHON}" -m pip install -e .
CFLAGS="-I/usr/include/python3.11 -I$CONDA_PREFIX/include/python3.11 $CFLAGS" ${BLENDER_PYTHON} -m pip install -e .

0 comments on commit 26c00d7

Please sign in to comment.