ArduPilot / WebTools

GNU General Public License v3.0
26 stars 27 forks source link

Use python3 when executing http server #204

Closed Ryanf55 closed 3 weeks ago

IamPete1 commented 1 month ago

Both work for me, does just using python cause issues somewhere?

If we decide to change then we should keep the vscode task upto date here: https://github.com/ArduPilot/WebTools/blob/dff6632176267fc4b5258c2d2f4558fa2466f662/.vscode/tasks.json#L7

Ryanf55 commented 1 month ago

Both work for me, does just using python cause issues somewhere?

If we decide to change then we should keep the vscode task upto date here:

https://github.com/ArduPilot/WebTools/blob/dff6632176267fc4b5258c2d2f4558fa2466f662/.vscode/tasks.json#L7

Good question.

It's now recommended by the python devs to use the python3 naming as all OS's support that. Many OS's have stopped aliasing python to be python3, which includes Ubuntu 22 by default.

See https://github.com/ArduPilot/ardupilot/pull/28055 for details

Ryanf55 commented 3 weeks ago

Both work for me, does just using python cause issues somewhere?

If we decide to change then we should keep the vscode task upto date here:

https://github.com/ArduPilot/WebTools/blob/dff6632176267fc4b5258c2d2f4558fa2466f662/.vscode/tasks.json#L7

Done and force pushed!

IamPete1 commented 3 weeks ago

Thanks.