<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Can I install/use numpy in CFD API? in CFD Forum</title>
    <link>https://forums.autodesk.com/t5/cfd-forum/can-i-install-use-numpy-in-cfd-api/m-p/13936404#M27268</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/18184374"&gt;@luke_allen9FV6X&lt;/a&gt;!&lt;/P&gt;
&lt;P&gt;I've checked the topic with our Autodesk CFD development team python master.&lt;/P&gt;
&lt;P&gt;Unfortunately there is no way to import numpy into python editor in Autodesk CFD.&lt;/P&gt;
&lt;P&gt;If this topic is important for you, please create a thread in "CFD Ideas" forum.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Maciej&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 08 Dec 2025 13:52:06 GMT</pubDate>
    <dc:creator>maciej.jaskiernik</dc:creator>
    <dc:date>2025-12-08T13:52:06Z</dc:date>
    <item>
      <title>Can I install/use numpy in CFD API?</title>
      <link>https://forums.autodesk.com/t5/cfd-forum/can-i-install-use-numpy-in-cfd-api/m-p/13919864#M27216</link>
      <description>&lt;P&gt;Hi everyone!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am working on automating some analyses of results using the Python API. It would be very useful if I could install, or link to, external data science libraries (e.g., numpy) from CFD Python. So far, I have been unsuccessful.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried the following:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Install same version of Python that CFD uses (3.8) in another location on my system&lt;/LI&gt;&lt;LI&gt;Install numpy using new interpreter (via pip)&lt;/LI&gt;&lt;LI&gt;From CFD Python, add the numpy install location to the search path using sys.path.append("path/to/python3.8/Lib/site-packages").&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;This procedure does allow the CFD Python interpreter to find the packages installed for the other interpreter. I can even import external packages written in pure Python. However, numpy fails to import. Likewise, anything with numpy as a dependency (e.g., pandas, scipy) also fails. The issue appears to be a problem importing numpy's C-extensions. Below is the error output:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;"""&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;ImportError:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;Importing the numpy C-extensions failed. This error can happen for&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;many reasons, often due to issues with your setup or how NumPy was&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;installed.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;We have compiled some common reasons and troubleshooting tips at:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;A href="https://numpy.org/devdocs/user/troubleshooting-importerror.html" target="_blank"&gt;https://numpy.org/devdocs/user/troubleshooting-importerror.html&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;Please note and check the following:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;* The Python version is: Python3.8 from "C:\Program Files\Autodesk\CFD 2021\CFD.exe"&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;* The NumPy version is: "1.24.3"&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;and make sure that they are the versions you expect.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;Please carefully study the documentation linked above for further help.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;Original error was: DLL load failed while importing _multiarray_umath: The specified module could not be found.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;"""&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;I checked out troubleshooting guide mentioned in the error message. Unfortunately, it's not really applicable since I have no control over CFD's bundled Python installation.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Has anyone else encountered this? Or have suggestions? I am an experienced Python user with a fair amount of broader CFD knowledge, but I am new to Inventor CFD.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Thanks!&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Luke&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Nov 2025 16:57:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/cfd-forum/can-i-install-use-numpy-in-cfd-api/m-p/13919864#M27216</guid>
      <dc:creator>luke_allen9FV6X</dc:creator>
      <dc:date>2025-11-25T16:57:31Z</dc:date>
    </item>
    <item>
      <title>Re: Can I install/use numpy in CFD API?</title>
      <link>https://forums.autodesk.com/t5/cfd-forum/can-i-install-use-numpy-in-cfd-api/m-p/13936404#M27268</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/18184374"&gt;@luke_allen9FV6X&lt;/a&gt;!&lt;/P&gt;
&lt;P&gt;I've checked the topic with our Autodesk CFD development team python master.&lt;/P&gt;
&lt;P&gt;Unfortunately there is no way to import numpy into python editor in Autodesk CFD.&lt;/P&gt;
&lt;P&gt;If this topic is important for you, please create a thread in "CFD Ideas" forum.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Maciej&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Dec 2025 13:52:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/cfd-forum/can-i-install-use-numpy-in-cfd-api/m-p/13936404#M27268</guid>
      <dc:creator>maciej.jaskiernik</dc:creator>
      <dc:date>2025-12-08T13:52:06Z</dc:date>
    </item>
    <item>
      <title>Re: Can I install/use numpy in CFD API?</title>
      <link>https://forums.autodesk.com/t5/cfd-forum/can-i-install-use-numpy-in-cfd-api/m-p/13961360#M27331</link>
      <description>&lt;P&gt;Thanks for the reply, however the tone of your message makes it clear that you did not understand my use-case. I have no intention of doing any serious computations with Python. Python is excellent for writing "glue code" that handles the high-level workflow, e.g., automating repetitive tasks. That's why the API exists.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Dec 2025 15:40:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/cfd-forum/can-i-install-use-numpy-in-cfd-api/m-p/13961360#M27331</guid>
      <dc:creator>luke_allen9FV6X</dc:creator>
      <dc:date>2025-12-31T15:40:22Z</dc:date>
    </item>
    <item>
      <title>Re: Can I install/use numpy in CFD API?</title>
      <link>https://forums.autodesk.com/t5/cfd-forum/can-i-install-use-numpy-in-cfd-api/m-p/13961396#M27332</link>
      <description>&lt;P&gt;Thank you for the reply. I was eventually able to figure out a solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The issue was that I had installed numpy using the&amp;nbsp;conda package manager, instead of pip. This created conflicts in the C extensions that numpy uses. Once I figured that out, I recreated my external python environment using only pip and successfully ran my entire workflow. I only needed to add sys.path.append("path/to/external/python/lib/site-packages") to my script before importing numpy (or other external libraries). This is exactly what I tried before my original post, but with numpy (etc.) installed from a different source.&lt;/P&gt;</description>
      <pubDate>Wed, 31 Dec 2025 16:19:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/cfd-forum/can-i-install-use-numpy-in-cfd-api/m-p/13961396#M27332</guid>
      <dc:creator>luke_allen9FV6X</dc:creator>
      <dc:date>2025-12-31T16:19:55Z</dc:date>
    </item>
    <item>
      <title>Re: Can I install/use numpy in CFD API?</title>
      <link>https://forums.autodesk.com/t5/cfd-forum/can-i-install-use-numpy-in-cfd-api/m-p/14032004#M27518</link>
      <description>&lt;P&gt;Oh, So you actually could use the API for something ?&lt;/P&gt;&lt;P&gt;I tried several times but after a few exchanges with the support, it appears that the API was not finished and there is no further development planned...&lt;/P&gt;&lt;P&gt;Many functions from the documentation are not implemented and it's almost impossible to automate the export of results.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I'm not too intrusive, what did you use the API for ?&lt;/P&gt;</description>
      <pubDate>Wed, 25 Feb 2026 15:28:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/cfd-forum/can-i-install-use-numpy-in-cfd-api/m-p/14032004#M27518</guid>
      <dc:creator>matthieu.griveletAH26V</dc:creator>
      <dc:date>2026-02-25T15:28:00Z</dc:date>
    </item>
  </channel>
</rss>

