Pete,

Thanks for the quick reply. I'm not sure how to incorporate that into the
autodock plugin, because it doesn't specifically call multiarray (at least
I can't find an occurrence of it in autodock.py). The plugin initially
calls numpy with "from import numpy *", which should enable me to use
multiarray, since it is part of numpy. I'm not well-versed in python, so I
could be off, but after changing the line in autodock.py to your suggestion
and re-installing the plugin, I get the same error message.

Blake


On Tue, Jan 28, 2014 at 4:02 PM, Pete Meyer <pame...@mcw.edu> wrote:

> Hi Blake,
> I haven't used the autodoc plugin, but from your stack trace (and a quick
> check of the numpy install on my system) you may be able to resolve this by
> changing the "import multiarray" statement to "from numpy.core import
> multiarray".
>
> Hope this helps,
> Pete
>
> Blake Mertz wrote:
>
>> Hello,
>>
>> I came across a short thread started by James Starlight last month
>> (December) which was not resolved, and I have been having the same issue.
>> I
>> upgraded to v1.6 in December, and since then am unable to load the
>> autodock
>> plugin. When I go to import autodock.py, I get the following error:
>>
>> Unable to initialize plugin 'autodock_plugin'
>> (pmg_tk.startup.autodock_plugin).
>>  parser: matching files:
>>   autodock.py   autodock.pyc
>> PyMOL>import autodock.py
>> Traceback (most recent call last):
>>   File "/usr/lib/python2.7/dist-packages/pymol/parser.py", line 260, in
>> parse
>>     exec(layer.com2+"\n",self.pymol_names,self.pymol_names)
>>   File "<string>", line 1, in <module>
>>   File "autodock.py", line 48, in <module>
>>     from numpy import *
>>   File "/usr/share/pyshared/numpy/__init__.py", line 137, in <module>
>>     import add_newdocs
>>   File "/usr/share/pyshared/numpy/add_newdocs.py", line 9, in <module>
>>     from numpy.lib import add_newdoc
>>   File "/usr/share/pyshared/numpy/lib/__init__.py", line 4, in <module>
>>     from type_check import *
>>   File "/usr/share/pyshared/numpy/lib/type_check.py", line 8, in <module>
>>     import numpy.core.numeric as _nx
>>   File "/usr/share/pyshared/numpy/core/__init__.py", line 5, in <module>
>>     import multiarray
>> ImportError: No module named multiarray
>>
>> After searching online, it sounds to me like this is a combination issue
>> --
>> often with Debian users (which is what I am using) there are issues
>> importing numpy. But when I execute python from the shell and import
>> numpy,
>> I get no errors:
>>
>> blake@NEI-GPU:/tmp$ python
>> Python 2.7.6 (default, Jan 11 2014, 14:34:26)
>> [GCC 4.8.2] on linux2
>> Type "help", "copyright", "credits" or "license" for more information.
>>
>>> import numpy
>>>>>
>>>>>
>> So I don't know if there is also an issue with pymol. I would greatly
>> appreciate any help from the community, because Daniel Seeliger's plugin
>> is
>> orders of magnitude better than autodocktools, and I don't want to
>> contemplate going back to the dark ages of analyzing my docking
>> results....
>>
>> Blake
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>> ------------------------------------------------------------
>> ------------------
>> WatchGuard Dimension instantly turns raw network data into actionable
>> security intelligence. It gives you real-time visual feedback on key
>> security issues and trends.  Skip the complicated setup - simply import
>> a virtual appliance and go from zero to informed in seconds.
>> http://pubads.g.doubleclick.net/gampad/clk?id=123612991&;
>> iu=/4140/ostg.clktrk
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
>> Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
>> Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net
>>
>
>
------------------------------------------------------------------------------
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
_______________________________________________
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net

Reply via email to