ansys / pyadditive

Pythonic interface client to Ansys additive simulation service

Home Page:https://additive.docs.pyansys.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

On Linux, the pyadditive server is not launched if Ansys is not installed on the default path

jmayo-ansys opened this issue Β· comments

πŸ” Before submitting the issue

  • I have searched among the existing issues
  • I am using a Python virtual environment

🐞 Description of the bug

If the Ansys software is not installed on the default path provided by the installer, Pyadditive fails to launch the server providing the error "Install directory could not be found".

local_server.py only checks for the install in the default directory, shown below:
image

Current work around is to create a symlink in the default installation directory that points to where the user has Ansys installed.

πŸ“ Steps to reproduce

  1. Install Ansys on a path different than the default directory.
  2. Attempt to launch a Pyadditive server
  3. "Installation cannot be found error" will be raised.

πŸ’» Which operating system are you using?

Linux

πŸ“€ Which ANSYS version are you using?

v242

🐍 Which Python version are you using?

3.10

πŸ“¦ Installed packages

2to3==1.0
ansys-additive-core==0.17.2
ansys-api-additive==1.4.1
ansys-api-fluent==0.3.22
ansys-api-platform-instancemanagement==1.0.0
ansys-fluent-core==0.20.dev5
ansys-hpcservices-file-management-v1==23.1.2311.26
ansys-hpcservices-file-transfer-v1==23.1.2311.26
ansys-hpcservices-global-permission-v1==23.1.2311.26
ansys-hpcservices-hardware-configuration-clusters-v1==23.1.2311.26
ansys-hpcservices-hardware-configuration-endpoints-v1==23.1.2311.26
ansys-hpcservices-hardware-configuration-queues-v1==23.1.2311.26
ansys-hpcservices-hardware-configuration-storages-v1==23.1.2311.26
ansys-hpcservices-job-management-jobs-v1==23.1.2311.26
ansys-hpcservices-job-management-logs-v1==23.1.2311.26
ansys-hpcservices-job-management-templates-v1==23.1.2311.26
ansys-hpcservices-service-management-v1==23.1.2311.26
ansys-hpcservices-user-management-v1==23.1.2311.26
ansys-platform-instancemanagement==1.1.2
ansys-pythonnet==3.1.0rc0
ansys-units==0.3.1
attrs==23.2.0
beartype==0.17.2
bleach==6.1.0
bokeh==3.3.4
cachetools==5.3.3
certifi==2024.2.2
cffi==1.16.0
charset-normalizer==3.3.2
clr-loader==0.2.6
contourpy==1.2.0
cycler==0.12.1
dill==0.3.8
distro==1.9.0
docker==7.0.0
exceptiongroup==1.2.0
execnet==2.0.2
future==0.18.0
google-api-core==2.17.1
google-api-python-client==2.122.0
google-auth==2.28.2
google-auth-httplib2==0.2.0
googleapis-common-protos==1.63.0
grpcio==1.62.1
grpcio-health-checking==1.48.2
grpcio-status==1.26.0
httplib2==0.22.0
idna==3.6
importlib_metadata==7.0.2
iniconfig==2.0.0
Jinja2==3.1.3
kiwisolver==1.4.5
linkify-it-py==2.0.3
llvmlite==0.39.1
lxml==5.1.0
Markdown==3.6
markdown-it-py==3.0.0
MarkupSafe==2.1.5
matplotlib==3.1.3
mdit-py-plugins==0.4.0
mdurl==0.1.2
numba==0.56.4
numpy==1.26.4
packaging==24.0
pandas==2.2.1
panel==1.3.8
param==2.0.2
pillow==10.2.0
platformdirs==4.2.0
plotly==5.20.0
pluggy==1.4.0
protobuf==3.20.3
psutil==5.9.8
py==1.11.0
pyasn1==0.5.1
pyasn1-modules==0.3.0
pybind11==2.10.0
pycparser==2.21
pyparsing==3.1.2
pytest==7.2.1
pytest-forked==1.6.0
pytest-xdist==1.31.0
python-certifi-win32==1.6.1
python-dateutil==2.9.0.post0
pytz==2024.1
pyviz_comms==3.0.1
PyYAML==6.0.1
requests==2.31.0
rsa==4.9
scipy==1.9.3
SCons==4.0.1
setuptools-scm==8.0.4
shapely==2.0.2
sip==6.5.1
six==1.16.0
tenacity==8.2.3
toml==0.10.2
tomli==2.0.1
tornado==6.4
tqdm==4.66.2
typing_extensions==4.10.0
tzdata==2024.1
uc-micro-py==1.0.3
uritemplate==4.1.1
urllib3==2.2.1
webencodings==0.5.1
wrapt==1.16.0
wxPython==4.1.1
xyzservices==2023.10.1
zipp==3.18.1