Skip to content

Commit

Permalink
Pin the numpy version to avoid gltf import failure
Browse files Browse the repository at this point in the history
Fix for issue : nytimes#52
  • Loading branch information
Amit-Tomar authored Dec 19, 2022
1 parent affb1b5 commit 1f3be0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def create_dockerfile(base_os: str,
"${BLENDER_PATH}", python_version)

dockerfile += "# Must first ensurepip to install Blender pip3 and then new numpy\n"
dockerfile += "RUN ${BLENDERPY} -m ensurepip && ${BLENDERPIP} install --upgrade pip && ${BLENDERPIP} install numpy\n\n"
dockerfile += "RUN ${BLENDERPY} -m ensurepip && ${BLENDERPIP} install --upgrade pip && ${BLENDERPIP} install numpy==1.23.0\n\n"

dockerfile += "# Set the working directory\n"
dockerfile += "WORKDIR {}".format(workdir)
Expand Down

0 comments on commit 1f3be0a

Please sign in to comment.