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

Change Python version #2

Closed
guiaugustoga987 opened this issue Aug 30, 2021 · 0 comments
Closed

Change Python version #2

guiaugustoga987 opened this issue Aug 30, 2021 · 0 comments

Comments

@guiaugustoga987
Copy link

guiaugustoga987 commented Aug 30, 2021

I want to use the python module with python 2.7 but when I type cmake -- it finds python 3.6 :

-- The CXX compiler identification is GNU 7.5.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Python: /usr/bin/python3.6 (found version "3.6.9") found components: Interpreter Development NumPy Development.Module Development.Embed
-- Found Boost: /usr/include (found version "1.65.1") found components: python36 numpy36
-- Configuring done
-- Generating done
-- Build files have been written to: /home/gapc/kht/python/build

How do I set cmake to find python 2.7 ?

@guiaugustoga987 guiaugustoga987 changed the title Compiling Error Change Python version Aug 30, 2021
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

1 participant