Hi Nathan,<div><br></div><div>sorry for the delay in replying.</div><div><br></div><div>To install yt on the system python I followed the procedure you mentioned: entered the yt directory cloned from bitbucket, run "python setup.py install".</div>
<div>I did that again to check another time but the error persists.</div><div><br></div><div>As I said I just reinstalled the same Ubuntu version on the same computer where before yt was usually installed by following the procedure above and it was normally running.</div>
<div><br></div><div>Could reinstall cython help to solve the problem?</div><div><br></div><div>Thanks,</div><div>                  Roberto</div><div><br></div><div><br></div><div><br></div><div><br><div class="gmail_quote">
On 14 February 2013 17:57, Nathan Goldbaum <span dir="ltr"><<a href="mailto:nathan12343@gmail.com" target="_blank">nathan12343@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Trobolo,<br>
<br>
data_point_utilities is a c extension that gets auto generated from a cython file and then compiled into a shared library when you run the yt setup script:<br>
<br>
$ cd $YT_HG<br>
$ python setup.py install<br>
<br>
Here $YT_HG is the directory containing the yt source code repository you cloned from bitbucket.<br>
<br>
Please let us know if you continue to have difficulties installing yt after running the setup script.<br>
<br>
Cheers,<br>
<br>
Nathan<br>
<div><div class="h5"><br>
On Feb 13, 2013, at 10:49 PM, trobolo dinni <<a href="mailto:trobolo.trobolo.dinni5@gmail.com">trobolo.trobolo.dinni5@gmail.com</a>> wrote:<br>
<br>
> Dear yt users,<br>
><br>
> I usually install yt on system python, following the procedure suggested me in this mailing list some months ago. In general everything goes fine with the installation and I can normally use yt.<br>
><br>
> Now I installed Ubuntu from scratch in my computer (where previously yt was installed and running!) and the installation seems to fine, but when I insert the command "from yt.mods import * ", I get the following error:<br>

><br>
><br>
> ---------------------------------------------------------------------------<br>
> ImportError                               Traceback (most recent call last)<br>
><br>
> /usr/local/lib/python2.7/dist-packages/yt/<ipython console> in <module>()<br>
><br>
> /usr/local/lib/python2.7/dist-packages/yt/yt/mods.py in <module>()<br>
>      56     np.seterr(all = 'ignore')<br>
>      57<br>
> ---> 58 from yt.data_objects.api import \<br>
>      59     BinnedProfile1D, BinnedProfile2D, BinnedProfile3D, \<br>
>      60     data_object_registry, \<br>
><br>
> /usr/local/lib/python2.7/dist-packages/yt/yt/data_objects/api.py in <module>()<br>
>      29 """<br>
>      30<br>
> ---> 31 from grid_patch import \<br>
>      32     AMRGridPatch<br>
>      33<br>
><br>
> /usr/local/lib/python2.7/dist-packages/yt/yt/data_objects/grid_patch.py in <module>()<br>
>      33 from yt.utilities.definitions import x_dict, y_dict<br>
>      34<br>
> ---> 35 from yt.data_objects.data_containers import YTFieldData<br>
>      36 from yt.utilities.definitions import x_dict, y_dict<br>
>      37 from .field_info_container import \<br>
><br>
> /usr/local/lib/python2.7/dist-packages/yt/yt/data_objects/data_containers.py in <module>()<br>
>      41 from yt.config import ytcfg<br>
>      42<br>
> ---> 43 from yt.data_objects.derived_quantities import GridChildMaskWrapper<br>
>      44 from yt.data_objects.particle_io import particle_handler_registry<br>
>      45 from yt.utilities.lib import find_grids_in_inclined_box, \<br>
><br>
> /usr/local/lib/python2.7/dist-packages/yt/yt/data_objects/derived_quantities.py in <module>()<br>
>      33 from yt.data_objects.field_info_container import \<br>
>      34     FieldDetector<br>
> ---> 35 from yt.utilities.data_point_utilities import FindBindingEnergy<br>
>      36 from yt.utilities.parallel_tools.parallel_analysis_interface import \<br>
>      37     ParallelAnalysisInterface<br>
><br>
> ImportError: No module named data_point_utilities<br>
><br>
> I would like to ask if someone has an idea of how can I solve this problem.<br>
><br>
> Thanks,<br>
>                    Roberto<br>
><br>
><br>
</div></div>> _______________________________________________<br>
> yt-users mailing list<br>
> <a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
> <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
<br>
_______________________________________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
</blockquote></div><br></div>