Skip to content

[LGTM] C/C++ extraction always uses Python 2 #383

Answered by tausbn
QuLogic asked this question in Q&A
Discussion options

You must be logged in to vote

For this particular case, you could try one of two things

  1. Invoking python3 setup.py build directly by setting the configure step for cpp
  2. Explicitly modifying the PATH variable to put the Python 3 interpreter first. For this, something like putting
cp `which python3` $LGTM_WORKSPACE/python
PATH=$LGTM_WORKSPACE:$PATH

in the before_index step might work.

(Note: I have not tested the two approaches above. If they don't work, do let us know.)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@QuLogic
Comment options

Answer selected by criemen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants