Closed MarcAmil30 closed 1 year ago
I cannot reproduce what you're observing but I can perhaps guess the underlying issue:
The pymol
application that is ran by default in the terminal may be different than the PyMOL application that you're running by GUI. By chance might you have another version of PyMOL installed somewhere? Perhaps the output of which pymol
in the terminal can shed some light. We only package and import the request library for the incentive version but not for open-source; so that's probably where I'd start.
Closing after about a year of inactivity. Please reopen if you still need assistance with this.
Hello :)
When running a python script (shown below called
mutation.py
) with PyMOL, I get aModuleNotFoundError: No module named 'requests'
when running it through the terminal with$ pymol mutation.py
. However, I get no error when running it through the GUI and using the Run Script option.Both give the same output but one (terminal option) also outputs an error.
Q: I wanted to ask why this is the case?
The code, which is not mine, is shown below: