While trying to run a PyPrimeMesh script from a console generated from Python Manager , i am observing Open SSL issue.
The error message is as follows
`(Py3119_PyAnsys242) D:\Temp\12_CurvatureProximity>python simple.py
Welcome to Ansys Prime Meshing (2024R2)
Copyright 1987 - 2024 ANSYS,Inc. All Rights Reserved.
Starting Ansys Prime Server...
Server listening on : 127.0.0.1:54814
importing CAD...
legacy Provider loading failed
EVP_DecryptInit. could not load the shared library
Traceback (most recent call last):
File "D:\Temp\12_CurvatureProximity\simple.py", line 11, in
mesh_util.read(file_name=mixing_elbow)
File "C:\Users\hgrotjan.ansys_python_venvs\Py3119_PyAnsys242\Lib\site-packages\ansys\meshing\prime\lucid\mesh_util.py", line 114, in read
prime.FileIO(self._model).import_cad(
File "C:\Users\hgrotjan.ansys_python_venvs\Py3119_PyAnsys242\Lib\site-packages\ansys\meshing\prime\core\fileio.py", line 586, in import_cad
import_result = super().import_cad(temp_file_name, params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\hgrotjan.ansys_python_venvs\Py3119_PyAnsys242\Lib\site-packages\ansys\meshing\prime\autogen\fileio.py", line 692, in import_cad
result = self._comm.serve(self._model, command_name, self._object_id, args=args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\hgrotjan.ansys_python_venvs\Py3119_PyAnsys242\Lib\site-packages\ansys\meshing\prime\internals\error_handling.py", line 577, in wrapper_error_code
raise PrimeRuntimeError(
ansys.meshing.prime.internals.error_handling.PrimeRuntimeError: CAD import failed.
`
📝 Steps to reproduce
Create a vitrual env on python 3.11.9 using python manager
Install pyprimemesh module
Launch console from Python Manager and try running any PyPrimeMesh examples
🔍 Before submitting the issue
🐞 Description of the bug
While trying to run a PyPrimeMesh script from a console generated from Python Manager , i am observing Open SSL issue.
The error message is as follows `(Py3119_PyAnsys242) D:\Temp\12_CurvatureProximity>python simple.py
Welcome to Ansys Prime Meshing (2024R2) Copyright 1987 - 2024 ANSYS,Inc. All Rights Reserved. Starting Ansys Prime Server... Server listening on : 127.0.0.1:54814 importing CAD... legacy Provider loading failed EVP_DecryptInit. could not load the shared library Traceback (most recent call last): File "D:\Temp\12_CurvatureProximity\simple.py", line 11, in
mesh_util.read(file_name=mixing_elbow)
File "C:\Users\hgrotjan.ansys_python_venvs\Py3119_PyAnsys242\Lib\site-packages\ansys\meshing\prime\lucid\mesh_util.py", line 114, in read
prime.FileIO(self._model).import_cad(
File "C:\Users\hgrotjan.ansys_python_venvs\Py3119_PyAnsys242\Lib\site-packages\ansys\meshing\prime\core\fileio.py", line 586, in import_cad
import_result = super().import_cad(temp_file_name, params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\hgrotjan.ansys_python_venvs\Py3119_PyAnsys242\Lib\site-packages\ansys\meshing\prime\autogen\fileio.py", line 692, in import_cad
result = self._comm.serve(self._model, command_name, self._object_id, args=args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\hgrotjan.ansys_python_venvs\Py3119_PyAnsys242\Lib\site-packages\ansys\meshing\prime\internals\error_handling.py", line 577, in wrapper_error_code
raise PrimeRuntimeError(
ansys.meshing.prime.internals.error_handling.PrimeRuntimeError: CAD import failed.
`
📝 Steps to reproduce
💻 Which operating system are you using?
Windows
📀 Which ANSYS version are you using?
2024R2
🐍 Which Python version are you using?
3.11
📦 Installed packages