[yt-users] Import error 'module' object has no attribute 'extern'

Sam Geen samgeen at googlemail.com
Sun Nov 16 07:21:43 PST 2014


Hi,

I'm trying to test a pull request, and when I try to run yt after 
installing the setup script, it gives me this error (below). The folder 
"extern" is in the dist-packages folder. The version I'm testing is 
https://bitbucket.org/cosmosquark/yt/commits/7d390496848a01fa113d24d1af249fac14c759a7

Any ideas?

Thanks,

Sam

In [2]: import yt
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-2-59dfcfe9846c> in <module>()
----> 1 import yt

/usr/local/lib/python2.7/dist-packages/yt-3.1dev-py2.7-linux-x86_64.egg/yt/__init__.py 
in <module>()
      79 import numpy # In case anyone wishes to use it by name
      80
---> 81 from yt.funcs import \
      82     iterable, \
      83     get_memory_usage, \

/usr/local/lib/python2.7/dist-packages/yt-3.1dev-py2.7-linux-x86_64.egg/yt/funcs.py 
in <module>()
      25 from yt.utilities.exceptions import *
      26 from yt.utilities.logger import ytLogger as mylog
---> 27 import yt.extern.progressbar as pb
      28 import yt.utilities.rpdb as rpdb
      29 from yt.units.yt_array import YTArray, YTQuantity

AttributeError: 'module' object has no attribute 'extern'



More information about the yt-users mailing list