[yt-users] yt update and error

Nathan Goldbaum nathan12343 at gmail.com
Thu Aug 25 20:51:26 PDT 2016


On Thu, Aug 25, 2016 at 9:49 PM, tazkera haque <h.tazkera at gmail.com> wrote:

> Hi people,
>
> I would like to upgrade yt to the latest version, I tried typing *yt
> update *in a folder on cluster /work/03858/thaque56/sw/yt-3.1 and it
> gives me following error:
>
> Traceback (most recent call last):
>   File "/work/03858/thaque56/sw/yt-3.1/yt-x86_64/bin/yt", line 9, in
> <module>
>     load_entry_point('yt==3.2.3', 'console_scripts', 'yt')()
>   File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line
> 558, in load_entry_point
>
>   File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line
> 2682, in load_entry_point
>
>   File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line
> 2355, in load
>
>   File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line
> 2361, in resolve
>
>   File "/work/03858/thaque56/sw/yt-3.1/yt-x86_64/src/yt-hg/yt/__init__.py",
> line 123, in <module>
>     from yt.data_objects.api import \
>   File "/work/03858/thaque56/sw/yt-3.1/yt-x86_64/src/yt-hg/yt/data_objects/api.py",
> line 16, in <module>
>     from .grid_patch import \
>   File "/work/03858/thaque56/sw/yt-3.1/yt-x86_64/src/yt-hg/yt/data_objects/grid_patch.py",
> line 19, in <module>
>     from yt.data_objects.data_containers import \
>   File "/work/03858/thaque56/sw/yt-3.1/yt-x86_64/src/yt-hg/yt/data_objects/data_containers.py",
> line 55, in <module>
>     from yt.utilities.parallel_tools.parallel_analysis_interface import \
>   File "/work/03858/thaque56/sw/yt-3.1/yt-x86_64/src/yt-hg/yt/
> utilities/parallel_tools/parallel_analysis_interface.py", line 33, in
> <module>
>     from yt.utilities.lib.quad_tree import \
> ImportError: No module named quad_tree
>
>
$ cd /work/03858/thaque56/sw/yt-3.1/yt-x86_64/src/yt-hg/
$ hg --config extensions.purge= purge --all yt
$ hg pull https://bitbucket.org/yt_analysis/yt
$ hg update yt
$ python setup.py develop

This will put you on the latest in-development version of yt. If you'd
instead like to be on the last stable release, do "hg update stable"
instead of "hg update yt".

"yt update" is supposed to automate this, but something seems to have gone
wrong in your case. I'm not sure why.


> and now I cannot excecute any of my python scripts there, please help me
> upgrade and fix the problem. thanks
>
> Tazkera
>
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20160825/c6b9dc88/attachment.html>


More information about the yt-users mailing list