Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installer at non standard install location not found #204

Open
2 tasks done
janvonrickenbach opened this issue Jul 5, 2024 · 3 comments
Open
2 tasks done

Installer at non standard install location not found #204

janvonrickenbach opened this issue Jul 5, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@janvonrickenbach
Copy link

🔍 Before submitting the issue

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

🐞 Description of the bug

I have an installer installed at a non-standard install location on Linux (not in LINUX_DEFAULT_DIRS), which is not found by get_available_ansys_installations. I wonder if it would make sense that also AWP_ROOT* is checked when get_available_ansys_installations is called.

📝 Steps to reproduce

Call get_available_ansys_installations when an ansys installer is installed at an non-standard install location.

💻 Which operating system are you using?

Linux

📀 Which ANSYS version are you using?

251

🐍 Which Python version are you using?

3.10

📦 Installed packages

Does not matter
@janvonrickenbach janvonrickenbach added the bug Something isn't working label Jul 5, 2024
@janvonrickenbach
Copy link
Author

@roosre

@RobPasMue
Copy link
Member

@dipinknair could you look into this? cc @koubaa @Gryfenfer97 @germa89

@koubaa
Copy link
Collaborator

koubaa commented Jul 10, 2024

AWP_ROOT is not set by the linux installer. If it is set on linux, it is because the user set it, so we could look there in that case.

However, there is the option to use the save-ansys-path CLI to store the path before using any pyansys library that uses ansys-tools-path

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants