Skip to content Skip to sidebar Skip to footer

External Call To Python3.5 Doesnot Work From Within Abaqus Python

Abaqus is a physics based mechanical simulation tool. It comes bundled with python 2.7.3. I use python scripts to automate certain operations. Recently, I had to run a Python3.5 sc

Solution 1:

I was having the same issue when running python 3 from the bundled version of python that is included with abaqus.

The solution that worked for me was to clear the environmental variable PYTHONHOME just before calling my python 3 script.

os.environ["PYTHONPATH"] = ""

I am not sure if this is best answer to this issue and if it will work for every case, but I hope this answer will be helpful to anyone else in this position.

Post a Comment for "External Call To Python3.5 Doesnot Work From Within Abaqus Python"