Running a Recorded PyTecplot Script Gives Error

Problem: When I run my PyTecplot Python script, I receive a TypeError, ValueError, KeyError, or AttributeError. However, I recorded this script from the 360 user interface, or wrote it using the current Pytecplot documentation, so it should be correct. What is causing this error? For example, running a recorded script using plot.fieldmaps(6,7,8,9,10,11) with PyTecplot 1.0 gives the following error: Traceback (most recent call last): File “C:\recorded_pytecplot.py”, line 17, in <module> tp.active_frame().plot().fieldmaps(6,7,8,9,10,11).mesh.show=False TypeError: […]

» Read More


PyTecplot TecplotLibraryNotFoundError Using Python 3.8+

Problem: In batch mode, when I run my PyTecplot script using Python 3.8+ on Windows, I receive an error stating that: tecplot.exception.TecplotLibraryNotFoundError: The Tecplot batch library or one of its dependencies could not be found… What is causing this error? Solution: It is likely that you are using an out-of-date version of PyTecplot. Using PyTecplot in batch mode with Python 3.8 on Windows 10 requires version 1.1 or later. Python […]

» Read More


How do I Install PyTecplot?

First off, PyTecplot requires an installation of Tecplot 360 2017 R1 or later. PyTecplot is also hosted on PyPI so you simply need to run ‘pip install pytecplot’ from a command prompt. Easy as Py! PyTecplot is also included in the Tecplot 360 installation so you can install from there if you have an overzealous firewall or want to ensure the PyTecplot version you’re installing is guaranteed to be compatible […]

» Read More