Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

No Format
python3 yourscript.py

or editing the first line of your script shebang, if you run it as an executable:

Code Block
languagepy
#!/usr/bin/env python3


No Format
./yourscript.py

For sustainability and maintainability reasons, some extra modules available in python 2 may not be installed in python3. If you need a module that is missing, please consider if you can use it through a virtual environment. This is particularly recommended if the module is being evaluated or tested, or if it's not going to be used widely at the centre. If in doubt, please get in touch with servicedesk@ecmwf.int.