xtensor-stack / xtensor-python

Python bindings for xtensor
BSD 3-Clause "New" or "Revised" License
345 stars 58 forks source link

Wrong python and additional build option #239

Open JohanMabille opened 4 years ago

JohanMabille commented 4 years ago

The following argument can be passed to cmake in order to fix wrong python detection:

-DPYTHON_EXECUTABLE:FILEPATH=path_to_python.

I guess it is equivalent to -DPYTHON_EXECUTABLE=`which python` but I'm not sure.

This should be added to the build section of the documentation (or in a troubleshooting section).

SylvainCorlay commented 4 years ago

Yes, we do this in the build of the conda recipe. This should definitely be documented.