KosumovicDenis/RSoftCAD.py

I would like to inquire about an issue with the code - (Python Interpreter)

Closed this issue · 9 comments

Hello, I encountered an error in "Cad.py" when attempting to run "main.py," as depicted in the attached image. Additionally, I was unable to locate "RSoftCircuit.py" within the "rstools" package.
5S N0D1L_(XT3PIL2(PDSUW
DALBAGJHG7BH6@4{KX~6E

Hello,

Thank you for reaching out. It seems there might be an issue with the Python interpreter. In addition to checking that you are using the correct interpreter path, please make sure to follow the instructions provided in the repository documentation.

Ensure that you are using the correct Python interpreter path, which should be something like:

C:/Synopsys/PhotonicSolutions/2019.09/RSoft/bin/rspython.exe

If the issue persists, please provide more details or share any error messages you receive so that we can offer further assistance.

Best regards.

I'm sorry to bother you. I would like to ask whether the author uses PyCharm or VS Code as the platform.

When I choose "rspython.exe" as the interpreter, a filename error occurs, but if I change the filename to "python.exe," it can be used as the interpreter.

Thank you for helping me with the answers!
LCG25NSK~UHK@73K0)B)ZPS

I'm sorry to bother you. I would like to ask whether the author uses PyCharm or VS Code as the platform.

No bother at all, we use Visual Studio Code. If you have any more questions or need further information, feel free to ask!

Thank you for helping me with the answers!

Happy to help!

Thank you for your response. It seems to be an issue caused by "PyCharm." "PyCharm" has specific requirements for the interpreter's directory, and the non-empty directory of RSoft-CAD triggers an error. I attempted to switch to "VS code," and now the issue has been resolved, allowing the code to run successfully.

By the way, I would like to inquire about how to change the "Simulation" module to another module, for example, "DiffractMOD."

By the way, I would like to inquire about how to change the "Simulation" module to another module, for example, "DiffractMOD."

For the specific request to change the "Simulation" module to "DiffractMOD," this seems to be a significant change that might warrant a separate issue to ensure clarity and focused discussion. I opened one here.