Hi Himal,
The person on our team that uses PyCharm and that wrote that documentation is on a trip to NIH this week and may not be able to respond promptly. Reading that page myself, it seems that the Debugging section assumes that you set up a virtual environment as outlined in the preceding "IDEs" section. Did you do that?
--Eric
Eric Pettersen
UCSF Computer Graphics Lab
> On Feb 19, 2024, at 9:40 PM, himalgodage2759--- via ChimeraX-users <chimerax-users@cgl.ucsf.edu> wrote:
>
> Dear ChimeraX Dev Team,
>
> I'm Himal Godage, and I am currently in the process of developing a bundle for ChimeraX software. I have been thoroughly following the provided documentation, successfully completing the steps related to setting up a ChimeraX development environment, obtaining the code, and compiling ChimeraX. However, I have encountered a challenge in the IDEs, Debugging, and Profiling section, specifically within PyCharm. Following the provided steps, I am instructed to:
> 1. Create a new Run/Debug Configuration.
> 2. Set the script path field to point at a module.
> 3. Set the module to “chimerax.core”.
> 4. Set the Python interpreter to ChimeraX’s internal Python.
> 5. Uncheck “Add content roots to PYTHONPATH”.
> 6. Uncheck “Add source roots to PYTHONPATH”.
> While attempting to follow these instructions, I encountered difficulty in locating the "chimerax.core" module. Unfortunately, the provided directory structure or module seems to be difficult to find in my current project. However there is a module named core in the following path. ChimeraX > src > bundles > core
>
> I am reaching out to seek your guidance on resolving this issue. Could you please provide insights on how I can locate or create the necessary "chimerax.core" module or suggest an alternative approach to address this problem?
>
> Thank you in advance for your time and support.
> Best regards,
>
> Himal Godage
> himalgodage2759@gmail.com
> _______________________________________________
> ChimeraX-users mailing list -- chimerax-users@cgl.ucsf.edu
> To unsubscribe send an email to chimerax-users-leave@cgl.ucsf.edu
> Archives: https://mail.cgl.ucsf.edu/mailman/archives/list/chimerax-users@cgl.ucsf.edu/
>