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" kass...@gmail.com To: "sfepy-devel" sfepy...@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'
Hello Robert,
Mayavi version - VTK version 5.4.2 Python 2.7.1+ wxPython 2.8.11.0
Linux thnkpd 2.6.38-11-generic #48-Ubuntu SMP Fri Jul 29 19:02:55 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
Thanks for your help. Sven
On Apr 15, 8:45 pm, "Robert Cimrman" cimr...@ntc.zcu.cz wrote:
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" kass...@gmail.com To: "sfepy-devel" sfepy...@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 athttp://groups.google.com/group/sfepy-devel?hl=en.
Also:
I have version 0.13 of package "cython" but we need version >= 0.14.1
Can I live without 0.14.1 for a while?
On Apr 16, 6:51 am, kassbohm kass...@gmail.com wrote:
Hello Robert,
Mayavi version - VTK version 5.4.2 Python 2.7.1+ wxPython 2.8.11.0
Linux thnkpd 2.6.38-11-generic #48-Ubuntu SMP Fri Jul 29 19:02:55 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
Thanks for your help. Sven
On Apr 15, 8:45 pm, "Robert Cimrman" cimr...@ntc.zcu.cz wrote:
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" kass...@gmail.com To: "sfepy-devel" sfepy...@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 athttp://groups.google.com/group/sfepy-devel?hl=en.
On 04/16/2012 07:02 AM, kassbohm wrote:
Also:
I have version 0.13 of package "cython" but we need version>= 0.14.1
Can I live without 0.14.1 for a while?
Sfepy uses the the cython support for numpy arrays that I know to be present in 0.14.1. It might have been there already in 0.13, so try disabling the check in setup.py, do "python setup.py clean --all" and rebuild. If it works, it's ok, if not, you need at least 0.14.1.
Cheers, r.