ansys / ansys/pymechanical

Incompatibility when trying to install PyAnsysGeometry and PyMechanical

Open
#1,415 1 comment 0 reactions 1 assignee Claimed by @RobPasMue 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

There is an incompatibility with the protobuf versions when trying to install both PyAnsysGeometry and PyMechanical:

Image

### 📝 Steps to reproduce

pip install both packages in same venv

### 💻 Which operating system are you using?

Windows

### 📀 Which ANSYS version are you using?

not relevant

### 🐍 Which Python version are you using?

3.10

### 📦 Installed packages

```shell
annotated-types==0.7.0
ansys-api-dbu==0.3.28
ansys-api-discovery==1.0.9
ansys-api-geometry==0.4.88
ansys-api-mechanical==0.1.3
ansys-geometry-core==0.13.0
ansys-mechanical-core==0.11.35
ansys-mechanical-stubs==0.1.9
ansys-pythonnet==3.1.0rc6
ansys-saf-cli==1.1.1
ansys-tools-common==0.3.0
ansys-tools-path==0.7.3
appdirs==1.4.4
arrow==1.3.0
beartype==0.22.6
binaryornot==0.4.4
certifi==2025.1.31
cffi==2.0.0
chardet==5.2.0
charset-normalizer==3.4.1
click==8.1.8
clr_loader==0.2.8
colorama==0.4.6
contourpy==1.3.2
cookiecutter==2.6.0
cycler==0.12.1
flexcache==0.3
flexparser==0.4
fonttools==4.60.1
geomdl==5.4.0
grpcio==1.76.0
grpcio-health-checking==1.76.0
idna==3.10
importlib_metadata==8.6.1
isort==6.0.1
Jinja2==3.1.6
kiwisolver==1.4.9
markdown-it-py==3.0.0
MarkupSafe==3.0.2
matplotlib==3.10.7
mdurl==0.1.2
numpy==2.2.6
packaging==24.2
pillow==12.0.0
Pint==0.24.4
platformdirs==4.5.0
protobuf==6.33.1
psutil==7.1.3
pycparser==2.23
pydantic==2.11.7
pydantic_core==2.33.2
Pygments==2.19.2
pyparsing==3.2.5
python-dateutil==2.9.0.post0
python-dotenv==1.1.1
python-slugify==8.0.4
PyYAML==6.0.2
requests==2.32.5
rich==14.0.0
scipy==1.15.3
scooby==0.11.0
semver==3.0.4
six==1.17.0
text-unidecode==1.3
toml==0.10.2
tqdm==4.67.1
types-python-dateutil==2.9.0.20241206
typing-inspection==0.4.1
typing_extensions==4.14.1
urllib3==2.3.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.