Skip to content

add_pyaedt_to_aedt not working on RedHat with gnome-terminal #6188

Closed
@Alberto-DM

Description

@Alberto-DM

Before submitting the issue

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

Description of the bug

There are 2 problems:

  • python command in the scripts pyaedt_console.py and jupiter.py is wrong. Every occurrence of "python" string is replaced with either "ipython" or "jupiter"
  • after manually fixing the previous one, launching the python console returns the following error:
# Option “-e” is deprecated and might be removed in a later version of gnome-terminal.
# Use “-- ” to terminate the options and put the command line to execute after it.
# Failed to parse arguments: Unknown option -i

Steps To Reproduce

Run the commands:
from ansys.aedt.core.extensions.installer.pyaedt_installer import add_pyaedt_to_aedt
add_pyaedt_to_aedt(“your_aedt_version", r“path_to_personalib")

Which Operating System are you using?

Linux

Which Python version are you using?

3.12

Installed packages

just installed pip install pyaedt[all]

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions