Skip to content

Commit 50cd171

Browse files
author
Vincent Moens
committed
Update
[ghstack-poisoned]
2 parents 6977187 + 0eda897 commit 50cd171

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

.github/scripts/version_script.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
#!/bin/bash
22

33
export TENSORDICT_BUILD_VERSION=0.8.0
4+
5+
conda install conda-forge::pybind11 -y

setup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,9 @@ def build_extension(self, ext):
147147
pybind11_dir = os.path.dirname(config_path[0])
148148
break
149149
else:
150-
raise RuntimeError(f"could not find any of 'pybind11Config.cmake', 'pybind11-config.cmake'")
150+
raise RuntimeError(
151+
f"could not find any of 'pybind11Config.cmake', 'pybind11-config.cmake' in {CONDA_PREFIX}"
152+
)
151153
if pybind11_dir:
152154
cmake_args.append(f"-DPYBIND11_DIR={pybind11_dir}")
153155

0 commit comments

Comments
 (0)