[yt-users] Install script doesn't copy progressbar

Sam Geen samgeen at astro.ox.ac.uk
Mon Nov 25 02:06:56 PST 2013


Hi,

I noticed that in the latest version of the install script from yt 3.0 
obtained via "hg clone https://bitbucket.org/yt_analysis/yt-3.0" (in the 
past hour) seems to have a bug; when I tried it, it didn't copy 
yt/extern/progressbar to the install location; when running "from 
yt.mods import *", it brings up an error. Copying the folder by hand to 
the extern folder at the install location appears to fix the problem.

Error text:

---
In [1]: import yt.mods
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-1-fcd62da66eec> in <module>()
----> 1 import yt.mods

/usr/local/lib/python2.7/dist-packages/yt-3.0dev-py2.7-linux-x86_64.egg/yt/mods.py 
in <module>()
      33 # See 
http://lists.spacepope.org/pipermail/yt-dev-spacepope.org/2011-December/
      34 #     001727.html
---> 35 import yt.startup_tasks as __startup_tasks
      36 unparsed_args = __startup_tasks.unparsed_args
      37

/usr/local/lib/python2.7/dist-packages/yt-3.0dev-py2.7-linux-x86_64.egg/yt/startup_tasks.py 
in <module>()
      20
      21 from yt.config import ytcfg
---> 22 from yt.funcs import *
      23
      24 exe_name = os.path.basename(sys.executable)

/usr/local/lib/python2.7/dist-packages/yt-3.0dev-py2.7-linux-x86_64.egg/yt/funcs.py 
in <module>()
      25 from yt.utilities.logger import ytLogger as mylog
      26 from yt.utilities.definitions import inv_axis_names, 
axis_names, x_dict, y_dict
---> 27 import yt.extern.progressbar as pb
      28 import yt.utilities.rpdb as rpdb
      29 from collections import defaultdict

ImportError: No module named progressbar
 > 
/usr/local/lib/python2.7/dist-packages/yt-3.0dev-py2.7-linux-x86_64.egg/yt/funcs.py(27)<module>()
      26 from yt.utilities.definitions import inv_axis_names, 
axis_names, x_dict, y_dict
---> 27 import yt.extern.progressbar as pb
      28 import yt.utilities.rpdb as rpdb
---

Cheers,

Sam



More information about the yt-users mailing list