This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nRF5 SDK for Mesh v2.2.0 - Python 2.7 and 3 Coexistence

So what steps do we need to take to have these two different Python versions both installed & usable at the same time on the same machine?

The 'Installing the toolchain' page says that tools have to be in the PATH - but, surely, it is going to matter what order they appear in the PATH ?

Parents Reply
  • awneil said:
    So are you saying that the Mesh SDK assumes that 'python' will start Python 3 ?

     Yes, as of now I believe that is the case.

    awneil said:
    Therefore, I should modify my existing Python 2.7 so that it will not be found by an unqualified 'python' command?

     You could do this. All of the python commands are entered in the terminal window by the user (or by a script that you can write yourself). What I have done is run a python3 command (like I mentioned in my first comment) every time the documentation says to use python.

Children
Related