What is your system and mayavi version? Is mayavi installed? Anyway, thanks for creating the issue, it looks like a bug in setup.

In the meantime, you can try commenting out the mayavi version check in setup.py, around line 110.

r.

----- Reply message -----
From: "kassbohm" <ka...@gmail.com>
To: "sfepy-devel" <sfep...@googlegroups.com>
Subject: Trying Installation... AttributeError: LooseVersion instance has no attribute 'version'
Date: Sun, Apr 15, 2012 14:43


Sorry, I also posted this question here: https://github.com/sfepy/sfepy/issues/180

Getting the following error during installation. How do I fix this?

$ python setup.py buildext --inplace
Traceback (most recent call last):
File "setup.py", line 112, in
version_getter=_mayavi_version)
File "/home/kassbohm/SFePy_Install/sfepy-2012.1/build_helpers.py",
line 320, in package_check
if checker(have_version) < checker(version):
File "/usr/lib/python2.7/distutils/version.py", line 296, in __cmp_
return cmp(self.version, other.version)
AttributeError: LooseVersion instance has no attribute 'version'

--
You received this message because you are subscribed to the Google Groups "sfepy-devel" group.
To post to this group, send email to sfepy...@googlegroups.com.
To unsubscribe from this group, send email to sfepy-devel...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/sfepy-devel?hl=en.