Re: [Chimera-users] How to install package in chimera python?

Hi, this was posted here, but where exactly do I invoke the said chimera command? I open chimera with IDLE; a python shell opens with the following Python 2.7.10 (default, May 4 2016, 01:09:35) [GCC 4.6.2] on linux2Type "copyright", "credits" or "license()" for more information.==== No Subprocess ====>>> >>> import chimera>>> I tried what the posting said, but got an error>>> chimera --nogui --script get-pip.pyTraceback (most recent call last): File "<pyshell#3>", line 1, in <module> chimera --nogui --script get-pip.pyNameError: name 'nogui' is not defined Thanks,SL [Chimera-users] How to install package in chimera python? | | | [Chimera-users] How to install package in chimera python? | | |

You type that to the Unix shell, the same way you started Chimera. So: <whatever command you use to start Chimera> --nogui --script get-pip.py —Eric Eric Pettersen UCSF Computer Graphics Lab
On Apr 10, 2017, at 6:23 PM, hy liao <hl_random@yahoo.com> wrote:
Hi, this was posted here, but where exactly do I invoke the said chimera command? I open chimera with IDLE; a python shell opens with the following
Python 2.7.10 (default, May 4 2016, 01:09:35) [GCC 4.6.2] on linux2 Type "copyright", "credits" or "license()" for more information. ==== No Subprocess ====
import chimera
I tried what the posting said, but got an error
chimera --nogui --script get-pip.py Traceback (most recent call last): File "<pyshell#3>", line 1, in <module> chimera --nogui --script get-pip.py NameError: name 'nogui' is not defined
Thanks, SL
[Chimera-users] How to install package in chimera python? <http://plato.cgl.ucsf.edu/pipermail/chimera-users/2016-November/012851.html>
[Chimera-users] How to install package in chimera python? <http://plato.cgl.ucsf.edu/pipermail/chimera-users/2016-November/012851.html>
_______________________________________________ Chimera-users mailing list: Chimera-users@cgl.ucsf.edu Manage subscription: http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users

Thank you, Eric! but I get this error, will it cause later malfunctions?
chimera/bin/chimera --nogui --script "chimera/bin/pip install scipy" Starting extension 'IDLE' failed (and then blah...) Thanks again,SL
On Tuesday, April 11, 2017 1:28 PM, Eric Pettersen <pett@cgl.ucsf.edu> wrote: You type that to the Unix shell, the same way you started Chimera. So: <whatever command you use to start Chimera> --nogui --script get-pip.py —Eric Eric Pettersen UCSF Computer Graphics Lab On Apr 10, 2017, at 6:23 PM, hy liao <hl_random@yahoo.com> wrote: Hi, this was posted here, but where exactly do I invoke the said chimera command? I open chimera with IDLE; a python shell opens with the following Python 2.7.10 (default, May 4 2016, 01:09:35) [GCC 4.6.2] on linux2Type "copyright", "credits" or "license()" for more information.==== No Subprocess ====>>> >>> import chimera>>> I tried what the posting said, but got an error>>> chimera --nogui --script get-pip.pyTraceback (most recent call last): File "<pyshell#3>", line 1, in <module> chimera --nogui --script get-pip.pyNameError: name 'nogui' is not defined Thanks,SL [Chimera-users] How to install package in chimera python? | | | [Chimera-users] How to install package in chimera python? | | | _______________________________________________ Chimera-users mailing list: Chimera-users@cgl.ucsf.edu Manage subscription: http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users

It seems that you have the IDLE shell set to autostart, which unsurprisingly fails in nogui mode. It’s harmless — you can ignore it. —Eric
On Apr 12, 2017, at 2:30 PM, hy liao <hl_random@yahoo.com> wrote:
Thank you, Eric! but I get this error, will it cause later malfunctions?
chimera/bin/chimera --nogui --script "chimera/bin/pip install scipy" Starting extension 'IDLE' failed (and then blah...)
Thanks again, SL
On Tuesday, April 11, 2017 1:28 PM, Eric Pettersen <pett@cgl.ucsf.edu> wrote:
You type that to the Unix shell, the same way you started Chimera. So:
<whatever command you use to start Chimera> --nogui --script get-pip.py
—Eric
Eric Pettersen UCSF Computer Graphics Lab
On Apr 10, 2017, at 6:23 PM, hy liao <hl_random@yahoo.com <mailto:hl_random@yahoo.com>> wrote:
Hi, this was posted here, but where exactly do I invoke the said chimera command? I open chimera with IDLE; a python shell opens with the following
Python 2.7.10 (default, May 4 2016, 01:09:35) [GCC 4.6.2] on linux2 Type "copyright", "credits" or "license()" for more information. ==== No Subprocess ====
import chimera
I tried what the posting said, but got an error
chimera --nogui --script get-pip.py Traceback (most recent call last): File "<pyshell#3>", line 1, in <module> chimera --nogui --script get-pip.py NameError: name 'nogui' is not defined
Thanks, SL
[Chimera-users] How to install package in chimera python? <http://plato.cgl.ucsf.edu/pipermail/chimera-users/2016-November/012851.html>
[Chimera-users] How to install package in chimera python? <http://plato.cgl.ucsf.edu/pipermail/chimera-users/2016-November/012851.html>
_______________________________________________ Chimera-users mailing list: Chimera-users@cgl.ucsf.edu <mailto:Chimera-users@cgl.ucsf.edu> Manage subscription: http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users <http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users>
_______________________________________________ Chimera-users mailing list: Chimera-users@cgl.ucsf.edu Manage subscription: http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users

OK, thank you, Eric! On Thursday, April 13, 2017 2:03 PM, Eric Pettersen <pett@cgl.ucsf.edu> wrote: It seems that you have the IDLE shell set to autostart, which unsurprisingly fails in nogui mode. It’s harmless — you can ignore it. —Eric On Apr 12, 2017, at 2:30 PM, hy liao <hl_random@yahoo.com> wrote: Thank you, Eric! but I get this error, will it cause later malfunctions?
chimera/bin/chimera --nogui --script "chimera/bin/pip install scipy" Starting extension 'IDLE' failed (and then blah...) Thanks again,SL
On Tuesday, April 11, 2017 1:28 PM, Eric Pettersen <pett@cgl.ucsf.edu> wrote: You type that to the Unix shell, the same way you started Chimera. So: <whatever command you use to start Chimera> --nogui --script get-pip.py —Eric Eric Pettersen UCSF Computer Graphics Lab On Apr 10, 2017, at 6:23 PM, hy liao <hl_random@yahoo.com> wrote: Hi, this was posted here, but where exactly do I invoke the said chimera command? I open chimera with IDLE; a python shell opens with the following Python 2.7.10 (default, May 4 2016, 01:09:35) [GCC 4.6.2] on linux2Type "copyright", "credits" or "license()" for more information.==== No Subprocess ====>>> >>> import chimera>>> I tried what the posting said, but got an error>>> chimera --nogui --script get-pip.pyTraceback (most recent call last): File "<pyshell#3>", line 1, in <module> chimera --nogui --script get-pip.pyNameError: name 'nogui' is not defined Thanks,SL [Chimera-users] How to install package in chimera python? | | | [Chimera-users] How to install package in chimera python? | | | _______________________________________________ Chimera-users mailing list: Chimera-users@cgl.ucsf.edu Manage subscription: http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users _______________________________________________ Chimera-users mailing list: Chimera-users@cgl.ucsf.edu Manage subscription: http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users
participants (2)
-
Eric Pettersen
-
hy liao