Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMake config python executable #1184

Closed
andyfengHKU opened this issue Jan 16, 2023 · 1 comment
Closed

CMake config python executable #1184

andyfengHKU opened this issue Jan 16, 2023 · 1 comment
Assignees

Comments

@andyfengHKU
Copy link
Contributor

We receive multiple cases where CMake detects a python executable that is not compatible with our python library. We should either

  • fix the auto-detection
  • add an option to change python executable
@mewim
Copy link
Member

mewim commented Feb 20, 2023

The Python version and interpreter could be specified by environment variables after #1240.
E.g.:

env PYBIND11_PYTHON_VERSION=3.9 PYTHON_EXECUTABLE=python3 make release

@mewim mewim closed this as completed Feb 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants