
from yt.mods import * Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/global/home/users/mqk/local/yt-x86_64/yt/yt/mods.py", line 97, in <module> from yt.visualization.volume_rendering.api import \ File "/global/home/users/mqk/local/yt-x86_64/yt/yt/visualization/volume_rendering/api.py",
Hi I just updated my yt distribution to the most recent yt-branch changeset (8f67aaa2e0d), and I now get this error: line 44, in <module> from camera import Camera, PerspectiveCamera, StereoPairCamera File "/global/home/users/mqk/local/yt-x86_64/yt/yt/visualization/volume_rendering/camera.py", line 33, in <module> from yt.utilities.amr_utils import TransferFunctionProxy, VectorPlane, \ ImportError: cannot import name arr_vec2pix_nest It works fine if I just comment out the 'arr_vec2pix_nest, arr_pix2vec_nest' from the import in yt/visualization/volume_rendering/camera.py. Mike -- ********************************************************************* * * * Dr. Michael Kuhlen Theoretical Astrophysics Center * * email: mqk@astro.berkeley.edu UC Berkeley * * cell phone: (831) 588-1468 601 Campbell Hall * * skype username: mikekuhlen Berkeley, CA 94720 * * * *********************************************************************

Hi Mike, You have to rebuild. From the path you give, I can't tell if it's an install'd or develop'd installation, but you can tr: cd /global/home/users/mqk/local/yt-x86_64/yt/ python2.6 setup.py develop or cd /global/home/users/mqk/local/yt-x86_64/yt/ python2.6 setup.py install depending on which one you initially did. As a quick sidenote, I'm preparing some documentation and a quick release to get this feature out there, but this particular new symbol is from a HEALpix camera that does all-sky column density maps from a given central point. -Matt On Mon, Feb 14, 2011 at 7:37 PM, Michael Kuhlen <mqk@astro.berkeley.edu> wrote:
Hi
I just updated my yt distribution to the most recent yt-branch changeset (8f67aaa2e0d), and I now get this error:
from yt.mods import * Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/global/home/users/mqk/local/yt-x86_64/yt/yt/mods.py", line 97, in <module> from yt.visualization.volume_rendering.api import \ File "/global/home/users/mqk/local/yt-x86_64/yt/yt/visualization/volume_rendering/api.py", line 44, in <module> from camera import Camera, PerspectiveCamera, StereoPairCamera File "/global/home/users/mqk/local/yt-x86_64/yt/yt/visualization/volume_rendering/camera.py", line 33, in <module> from yt.utilities.amr_utils import TransferFunctionProxy, VectorPlane, \ ImportError: cannot import name arr_vec2pix_nest
It works fine if I just comment out the 'arr_vec2pix_nest, arr_pix2vec_nest' from the import in yt/visualization/volume_rendering/camera.py.
Mike
-- ********************************************************************* * * * Dr. Michael Kuhlen Theoretical Astrophysics Center * * email: mqk@astro.berkeley.edu UC Berkeley * * cell phone: (831) 588-1468 601 Campbell Hall * * skype username: mikekuhlen Berkeley, CA 94720 * * * *********************************************************************
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
participants (2)
-
Matthew Turk
-
Michael Kuhlen