ansys / pymechanical

Pythonic interface to Ansys Mechanical ™
https://mechanical.docs.pyansys.com/
MIT License
37 stars 19 forks source link

Bug: Protobuf incompatible issue #684

Closed dipinknair closed 6 months ago

dipinknair commented 6 months ago

PyMechanical does not have upper limit on probuf which creates issue in python3.9 where 5.26.1 is getting installed hence creating issue when installing other dependencies such as ansys-api-mechanical and ansys-api-platform-instancemanagement

RobPasMue commented 6 months ago

For some reason, the dependency resolution on 3.9 seems to be failing... It should detect that second level deps are defining upper limits on the protobuf version but it isn't... you have to actively specify it when installing ansys-mechanical-core

pip install ansys-mechanical-core "protobuf<5"