Skip to content

Commit 24a3c3d

Browse files
committed
update pydefix for people using venv
1 parent 4f625af commit 24a3c3d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

doc/source/modules/pydefix.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ Pydefix usage
2323
Idefix Configuration
2424
++++++++++++++++++++
2525

26-
In order to use Pydefix, you need to switch on ``Idefix_PYTHON`` in cmake. This will auto-detect Python and check that pybind11 can be used effectively.
26+
In order to use Pydefix, you need to switch on ``Idefix_PYTHON`` in cmake. This will auto-detect Python and check that pybind11 can be used effectively. If you are using a python environement manager such as venv or conda, make sure to activate the right environement *before* running cmake, as idefix
27+
now includes the full path to python and pybind11 in its executable file.
2728

2829

2930
Run Idefix with Pydefix

0 commit comments

Comments
 (0)