{"id":6455,"date":"2019-12-17T17:20:19","date_gmt":"2019-12-18T01:20:19","guid":{"rendered":"http:\/\/kb.tecplot.com\/?p=6455"},"modified":"2021-09-07T15:16:47","modified_gmt":"2021-09-07T22:16:47","slug":"pytecplot-tecplotlibrarynotfounderror-using-python-3-8","status":"publish","type":"post","link":"https:\/\/kb.tecplot.com\/2019\/12\/17\/pytecplot-tecplotlibrarynotfounderror-using-python-3-8\/","title":{"rendered":"PyTecplot TecplotLibraryNotFoundError Using Python 3.8+"},"content":{"rendered":"<div>\n<p><strong>Problem:<\/strong><\/p>\n<p>In batch mode, when I run my PyTecplot script using Python 3.8+ on Windows, I receive an error stating that:<\/p>\n<p style=\"padding-left: 40px;\"><tt>tecplot.exception.TecplotLibraryNotFoundError: The Tecplot batch library or one of its dependencies could not be found...<\/tt><\/p>\n<p>What is causing this error?<\/p>\n<\/div>\n<div><\/div>\n<div>\n<p><strong>Solution:<\/strong><\/p>\n<p>It is likely that you are using an out-of-date version of PyTecplot.<\/p>\n<p>Using PyTecplot in batch mode with Python 3.8 on Windows 10 requires version 1.1 or later. Python 3.8 changed the way dynamic libraries are loaded as described <a href=\"https:\/\/docs.python.org\/3\/whatsnew\/3.8.html#bpo-36085-whatsnew\" target=\"_blank\" rel=\"noopener noreferrer\" data-cke-saved-href=\"https:\/\/docs.python.org\/3\/whatsnew\/3.8.html#bpo-36085-whatsnew\">here<\/a> in Python&#8217;s documentation.<\/p>\n<p>To fix this problem, update PyTecplot to the latest version. Typically, this involves running the following command:<\/p>\n<pre style=\"padding-left: 40px;\">pip install --upgrade pytecplot<\/pre>\n<p>See the PyTecplot documentation for more detailed updating instructions for <a href=\"https:\/\/www.tecplot.com\/docs\/pytecplot\/install.html#updating\" target=\"_blank\" rel=\"noopener noreferrer\" data-cke-saved-href=\"https:\/\/www.tecplot.com\/docs\/pytecplot\/install.html#updating\">Windows<\/a>,\u00a0<a href=\"https:\/\/www.tecplot.com\/docs\/pytecplot\/install.html#id12\" target=\"_blank\" rel=\"noopener noreferrer\" data-cke-saved-href=\"https:\/\/www.tecplot.com\/docs\/pytecplot\/install.html#id12\">Linux<\/a>, or\u00a0<a href=\"https:\/\/www.tecplot.com\/docs\/pytecplot\/install.html#id21\" target=\"_blank\" rel=\"noopener noreferrer\" data-cke-saved-href=\"https:\/\/www.tecplot.com\/docs\/pytecplot\/install.html#id21\">MacOS<\/a>. To get the current version of PyTecplot, run the following in the Python interpreter:<\/p>\n<pre style=\"padding-left: 40px;\">import tecplot\r\nprint(tecplot.__version__)<\/pre>\n<p>&nbsp;<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>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&#8230; 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 <a href=\"https:\/\/kb.tecplot.com\/2019\/12\/17\/pytecplot-tecplotlibrarynotfounderror-using-python-3-8\/\">[&#8230;]<\/a><\/p>\n<p><a class=\"read-more\" href=\"https:\/\/kb.tecplot.com\/2019\/12\/17\/pytecplot-tecplotlibrarynotfounderror-using-python-3-8\/\">&#187; Read More<\/a><\/p>\n","protected":false},"author":14,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[538,536],"tags":[607],"class_list":["post-6455","post","type-post","status-publish","format-standard","hentry","category-installation","category-pytecplot","tag-pytecplot-error"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>PyTecplot TecplotLibraryNotFoundError Using Python 3.8+ - Tecplot Knowledge Base<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/kb.tecplot.com\/2019\/12\/17\/pytecplot-tecplotlibrarynotfounderror-using-python-3-8\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"PyTecplot TecplotLibraryNotFoundError Using Python 3.8+ - Tecplot Knowledge Base\" \/>\n<meta property=\"og:description\" content=\"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 [...]&#187; Read More\" \/>\n<meta property=\"og:url\" content=\"https:\/\/kb.tecplot.com\/2019\/12\/17\/pytecplot-tecplotlibrarynotfounderror-using-python-3-8\/\" \/>\n<meta property=\"og:site_name\" content=\"Tecplot Knowledge Base\" \/>\n<meta property=\"article:published_time\" content=\"2019-12-18T01:20:19+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-09-07T22:16:47+00:00\" \/>\n<meta name=\"author\" content=\"Tecplot Support\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Tecplot Support\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/kb.tecplot.com\\\/2019\\\/12\\\/17\\\/pytecplot-tecplotlibrarynotfounderror-using-python-3-8\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/kb.tecplot.com\\\/2019\\\/12\\\/17\\\/pytecplot-tecplotlibrarynotfounderror-using-python-3-8\\\/\"},\"author\":{\"name\":\"Tecplot Support\",\"@id\":\"https:\\\/\\\/kb.tecplot.com\\\/#\\\/schema\\\/person\\\/1f57500d88afb2ce70a2cb6f28ad9aac\"},\"headline\":\"PyTecplot TecplotLibraryNotFoundError Using Python 3.8+\",\"datePublished\":\"2019-12-18T01:20:19+00:00\",\"dateModified\":\"2021-09-07T22:16:47+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/kb.tecplot.com\\\/2019\\\/12\\\/17\\\/pytecplot-tecplotlibrarynotfounderror-using-python-3-8\\\/\"},\"wordCount\":132,\"publisher\":{\"@id\":\"https:\\\/\\\/kb.tecplot.com\\\/#organization\"},\"keywords\":[\"PyTecplot Error\"],\"articleSection\":[\"Installation\",\"Pytecplot\"],\"inLanguage\":\"en\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/kb.tecplot.com\\\/2019\\\/12\\\/17\\\/pytecplot-tecplotlibrarynotfounderror-using-python-3-8\\\/\",\"url\":\"https:\\\/\\\/kb.tecplot.com\\\/2019\\\/12\\\/17\\\/pytecplot-tecplotlibrarynotfounderror-using-python-3-8\\\/\",\"name\":\"PyTecplot TecplotLibraryNotFoundError Using Python 3.8+ - Tecplot Knowledge Base\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/kb.tecplot.com\\\/#website\"},\"datePublished\":\"2019-12-18T01:20:19+00:00\",\"dateModified\":\"2021-09-07T22:16:47+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/kb.tecplot.com\\\/2019\\\/12\\\/17\\\/pytecplot-tecplotlibrarynotfounderror-using-python-3-8\\\/#breadcrumb\"},\"inLanguage\":\"en\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/kb.tecplot.com\\\/2019\\\/12\\\/17\\\/pytecplot-tecplotlibrarynotfounderror-using-python-3-8\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/kb.tecplot.com\\\/2019\\\/12\\\/17\\\/pytecplot-tecplotlibrarynotfounderror-using-python-3-8\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/kb.tecplot.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"PyTecplot TecplotLibraryNotFoundError Using Python 3.8+\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/kb.tecplot.com\\\/#website\",\"url\":\"https:\\\/\\\/kb.tecplot.com\\\/\",\"name\":\"Tecplot Knowledge Base\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/kb.tecplot.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/kb.tecplot.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/kb.tecplot.com\\\/#organization\",\"name\":\"Tecplot, Inc.\",\"url\":\"https:\\\/\\\/kb.tecplot.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en\",\"@id\":\"https:\\\/\\\/kb.tecplot.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"http:\\\/\\\/kb.tecplot.com\\\/wp-content\\\/uploads\\\/2023\\\/02\\\/favicon-128.png\",\"contentUrl\":\"http:\\\/\\\/kb.tecplot.com\\\/wp-content\\\/uploads\\\/2023\\\/02\\\/favicon-128.png\",\"width\":128,\"height\":128,\"caption\":\"Tecplot, Inc.\"},\"image\":{\"@id\":\"https:\\\/\\\/kb.tecplot.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/kb.tecplot.com\\\/#\\\/schema\\\/person\\\/1f57500d88afb2ce70a2cb6f28ad9aac\",\"name\":\"Tecplot Support\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/93dee1ca1a5f10d51b94b0ca8ca8ef79588aa15d0ebcc03de2524c630379c2c0?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/93dee1ca1a5f10d51b94b0ca8ca8ef79588aa15d0ebcc03de2524c630379c2c0?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/93dee1ca1a5f10d51b94b0ca8ca8ef79588aa15d0ebcc03de2524c630379c2c0?s=96&d=mm&r=g\",\"caption\":\"Tecplot Support\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"PyTecplot TecplotLibraryNotFoundError Using Python 3.8+ - Tecplot Knowledge Base","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/kb.tecplot.com\/2019\/12\/17\/pytecplot-tecplotlibrarynotfounderror-using-python-3-8\/","og_locale":"en_US","og_type":"article","og_title":"PyTecplot TecplotLibraryNotFoundError Using Python 3.8+ - Tecplot Knowledge Base","og_description":"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 [...]&#187; Read More","og_url":"https:\/\/kb.tecplot.com\/2019\/12\/17\/pytecplot-tecplotlibrarynotfounderror-using-python-3-8\/","og_site_name":"Tecplot Knowledge Base","article_published_time":"2019-12-18T01:20:19+00:00","article_modified_time":"2021-09-07T22:16:47+00:00","author":"Tecplot Support","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Tecplot Support","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/kb.tecplot.com\/2019\/12\/17\/pytecplot-tecplotlibrarynotfounderror-using-python-3-8\/#article","isPartOf":{"@id":"https:\/\/kb.tecplot.com\/2019\/12\/17\/pytecplot-tecplotlibrarynotfounderror-using-python-3-8\/"},"author":{"name":"Tecplot Support","@id":"https:\/\/kb.tecplot.com\/#\/schema\/person\/1f57500d88afb2ce70a2cb6f28ad9aac"},"headline":"PyTecplot TecplotLibraryNotFoundError Using Python 3.8+","datePublished":"2019-12-18T01:20:19+00:00","dateModified":"2021-09-07T22:16:47+00:00","mainEntityOfPage":{"@id":"https:\/\/kb.tecplot.com\/2019\/12\/17\/pytecplot-tecplotlibrarynotfounderror-using-python-3-8\/"},"wordCount":132,"publisher":{"@id":"https:\/\/kb.tecplot.com\/#organization"},"keywords":["PyTecplot Error"],"articleSection":["Installation","Pytecplot"],"inLanguage":"en"},{"@type":"WebPage","@id":"https:\/\/kb.tecplot.com\/2019\/12\/17\/pytecplot-tecplotlibrarynotfounderror-using-python-3-8\/","url":"https:\/\/kb.tecplot.com\/2019\/12\/17\/pytecplot-tecplotlibrarynotfounderror-using-python-3-8\/","name":"PyTecplot TecplotLibraryNotFoundError Using Python 3.8+ - Tecplot Knowledge Base","isPartOf":{"@id":"https:\/\/kb.tecplot.com\/#website"},"datePublished":"2019-12-18T01:20:19+00:00","dateModified":"2021-09-07T22:16:47+00:00","breadcrumb":{"@id":"https:\/\/kb.tecplot.com\/2019\/12\/17\/pytecplot-tecplotlibrarynotfounderror-using-python-3-8\/#breadcrumb"},"inLanguage":"en","potentialAction":[{"@type":"ReadAction","target":["https:\/\/kb.tecplot.com\/2019\/12\/17\/pytecplot-tecplotlibrarynotfounderror-using-python-3-8\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/kb.tecplot.com\/2019\/12\/17\/pytecplot-tecplotlibrarynotfounderror-using-python-3-8\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/kb.tecplot.com\/"},{"@type":"ListItem","position":2,"name":"PyTecplot TecplotLibraryNotFoundError Using Python 3.8+"}]},{"@type":"WebSite","@id":"https:\/\/kb.tecplot.com\/#website","url":"https:\/\/kb.tecplot.com\/","name":"Tecplot Knowledge Base","description":"","publisher":{"@id":"https:\/\/kb.tecplot.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/kb.tecplot.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en"},{"@type":"Organization","@id":"https:\/\/kb.tecplot.com\/#organization","name":"Tecplot, Inc.","url":"https:\/\/kb.tecplot.com\/","logo":{"@type":"ImageObject","inLanguage":"en","@id":"https:\/\/kb.tecplot.com\/#\/schema\/logo\/image\/","url":"http:\/\/kb.tecplot.com\/wp-content\/uploads\/2023\/02\/favicon-128.png","contentUrl":"http:\/\/kb.tecplot.com\/wp-content\/uploads\/2023\/02\/favicon-128.png","width":128,"height":128,"caption":"Tecplot, Inc."},"image":{"@id":"https:\/\/kb.tecplot.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/kb.tecplot.com\/#\/schema\/person\/1f57500d88afb2ce70a2cb6f28ad9aac","name":"Tecplot Support","image":{"@type":"ImageObject","inLanguage":"en","@id":"https:\/\/secure.gravatar.com\/avatar\/93dee1ca1a5f10d51b94b0ca8ca8ef79588aa15d0ebcc03de2524c630379c2c0?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/93dee1ca1a5f10d51b94b0ca8ca8ef79588aa15d0ebcc03de2524c630379c2c0?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/93dee1ca1a5f10d51b94b0ca8ca8ef79588aa15d0ebcc03de2524c630379c2c0?s=96&d=mm&r=g","caption":"Tecplot Support"}}]}},"_links":{"self":[{"href":"https:\/\/kb.tecplot.com\/wp-json\/wp\/v2\/posts\/6455","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kb.tecplot.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kb.tecplot.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kb.tecplot.com\/wp-json\/wp\/v2\/users\/14"}],"replies":[{"embeddable":true,"href":"https:\/\/kb.tecplot.com\/wp-json\/wp\/v2\/comments?post=6455"}],"version-history":[{"count":1,"href":"https:\/\/kb.tecplot.com\/wp-json\/wp\/v2\/posts\/6455\/revisions"}],"predecessor-version":[{"id":6456,"href":"https:\/\/kb.tecplot.com\/wp-json\/wp\/v2\/posts\/6455\/revisions\/6456"}],"wp:attachment":[{"href":"https:\/\/kb.tecplot.com\/wp-json\/wp\/v2\/media?parent=6455"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kb.tecplot.com\/wp-json\/wp\/v2\/categories?post=6455"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kb.tecplot.com\/wp-json\/wp\/v2\/tags?post=6455"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}