ansys / ansys/pymechanical

Package seems not to work

Open
#1,143 13 comments 0 reactions 1 assignee Claimed by @koubaa View on GitHub
bug
Dominant language
Python
Stars
83
Forks
37
Avg merge
23h 48m
Merged PRs (30d)
25

Description

### 🔍 Before submitting the issue

- [x] I have searched among the existing issues
- [x] I am using a Python virtual environment

### 🐞 Description of the bug

I am using a clean setup of a virtual environment with only PyMechanical installed. However by running a simple example, I get the following error.

```
WARNING - - initializer - _get_latest_default_version - Multiple versions of Mechanical found! Using latest version 251 ...
legacy Provider loading failed
EVP_DecryptInit. could not load the shared library
```

What am I doing wrong?

### 📝 Steps to reproduce

```
from ansys.mechanical.core import App
app = App()
app.update_globals(globals())
print(app)
```

### 💻 Which operating system are you using?

Windows

### 📀 Which ANSYS version are you using?

2025R1

### 🐍 Which Python version are you using?

3.12

### 📦 Installed packages

```shell
here is my installed packages:

nsys-api-mechanical==0.1.2
ansys-mechanical-core==0.11.14
ansys-mechanical-env==0.1.9
ansys-mechanical-stubs==0.1.6
ansys-pythonnet==3.1.0rc6
ansys-tools-path==0.7.1
appdirs==1.4.4
certifi==2025.1.31
cffi==1.17.1
charset-normalizer==3.4.1
click==8.1.8
clr-loader==0.2.7.post0
colorama==0.4.6
grpcio==1.71.0
idna==3.10
importlib-metadata==8.6.1
platformdirs==4.3.7
protobuf==5.29.4
psutil==7.0.0
pycparser==2.22
requests==2.32.3
tqdm==4.67.1
urllib3==2.4.0
zipp==3.21.0
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.