ANN Mahotas 0.99 (version 1.0 beta)

48 views
Skip to first unread message

Luis Pedro Coelho

unread,
May 4, 2013, 6:48:12 AM5/4/13
to python...@googlegroups.com
Hello list,

I want 1.0 of mahotas to be completely clean of problems, so I am
releasing a Beta. I fixed several minor documentation issues.

Hopefully, in a week, I can just release this as 1.0, but in the
meanwhile, I will fix any bugs that do show up.

I thank the anonymous reviewers (on the mahotas paper) for pointing out
these documentation and other issues.

Mahotas
-------

Mahotas is a computer vision library. Algorithms operate on numpy
arrays, but are implemented in C++ for speed (efficiency is a major
concern of mahotas).

It includes algorithms such as watershed, morphological operations,
feature computation (Haralick features, Zernike moments, and SURF), and
other tidbits.

License: MIT

Release: http://pypi.python.org/pypi/mahotas
Repository: http://github.com/luispedro/mahotas
API Docs: https://mahotas.readthedocs.org/en/latest/
Mailing List: http://groups.google.com/group/pythonvision
General webpage: http://luispedro.org/software/mahotas

Thanks
--
Luis Pedro Coelho | EMBL | http://luispedro.org

Luis Pedro Coelho

unread,
May 7, 2013, 4:21:04 AM5/7/13
to python...@googlegroups.com
Hi

I think this is just that you need to have a C++ compiler installed.

I wish python would give you a less confusing error message, but, alas,
it does not.

Luis

--
Luis Pedro Coelho | EMBL | http://luispedro.org

On 05/07/2013 02:26 AM, David Raible wrote:
> Hi Luis
> I tried to install this version of mahotas using MacOS 10.8. Likely I'm
> just missing something but I was unable to do so. The log is below.
> Thanks for any help.
> Dave
>
> $ python setup.py install
>
> running install
>
> running bdist_egg
>
> running egg_info
>
> running build_src
>
> build_src
>
> building extension "mahotas._histogram" sources
>
> building extension "mahotas.features._zernike" sources
>
> building extension "mahotas._convex" sources
>
> building extension "mahotas._center_of_mass" sources
>
> building extension "mahotas._morph" sources
>
> building extension "mahotas.features._surf" sources
>
> building extension "mahotas._thin" sources
>
> building extension "mahotas._bbox" sources
>
> building extension "mahotas._distance" sources
>
> building extension "mahotas._convolve" sources
>
> building extension "mahotas.features._lbp" sources
>
> building extension "mahotas._labeled" sources
>
> building extension "mahotas.features._texture" sources
>
> building extension "mahotas._interpolate" sources
>
> build_src: building npy-pkg config files
>
> writing mahotas.egg-info/PKG-INFO
>
> writing top-level names to mahotas.egg-info/top_level.txt
>
> writing dependency_links to mahotas.egg-info/dependency_links.txt
>
> reading manifest file 'mahotas.egg-info/SOURCES.txt'
>
> reading manifest template 'MANIFEST.in'
>
> warning: no files found matching 'LICENSE.BOOST'
>
> writing manifest file 'mahotas.egg-info/SOURCES.txt'
>
> installing library code to build/bdist.macosx-10.5-x86_64/egg
>
> running install_lib
>
> running build_py
>
> running build_ext
>
> customize UnixCCompiler
>
> customize UnixCCompiler using build_ext
>
> customize UnixCCompiler
>
> ####
>
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
>
> -fno-strict-aliasing -I/Users/draible1/anaconda/include -arch x86_64
> -isysroot
>
> /Developer/SDKs/MacOSX10.5.sdk -DNDEBUG -g -fwrapv -O3 -Wall
> -Wstrict-prototypes #######
>
> Missing compiler_cxx fix for UnixCCompiler
>
> customize UnixCCompiler using build_ext
>
> Traceback (most recent call last):
>
> File "setup.py", line 110, in <module>
>
> test_suite = 'nose.collector',
>
> File
> "/Users/draible1/anaconda/lib/python2.7/site-packages/numpy/distutils/core.py",
> line 186,
>
> in setup
>
> return old_setup(**new_attr)
>
> File "/Users/draible1/anaconda/lib/python2.7/distutils/core.py", line
> 152, in setup
>
> dist.run_commands()
>
> File "/Users/draible1/anaconda/lib/python2.7/distutils/dist.py", line
> 953, in run_commands
>
> self.run_command(cmd)
>
> File "/Users/draible1/anaconda/lib/python2.7/distutils/dist.py", line
> 972, in run_command
>
> cmd_obj.run()
>
> File "/Users/draible1/anaconda/lib/python2.7/site-
>
> packages/numpy/distutils/command/install.py", line 57, in run
>
> r = self.setuptools_run()
>
> File "/Users/draible1/anaconda/lib/python2.7/site-
>
> packages/numpy/distutils/command/install.py", line 51, in setuptools_run
>
> self.do_egg_install()
>
> File
> "/Users/draible1/anaconda/lib/python2.7/site-packages/setuptools/command/install.py",
>
> line 93, in do_egg_install
>
> self.run_command('bdist_egg')
>
> File "/Users/draible1/anaconda/lib/python2.7/distutils/cmd.py", line
> 326, in run_command
>
> self.distribution.run_command(command)
>
> File "/Users/draible1/anaconda/lib/python2.7/distutils/dist.py", line
> 972, in run_command
>
> cmd_obj.run()
>
> File "/Users/draible1/anaconda/lib/python2.7/site-
>
> packages/setuptools/command/bdist_egg.py", line 179, in run
>
> cmd = self.call_command('install_lib', warn_dir=0)
>
> File "/Users/draible1/anaconda/lib/python2.7/site-
>
> packages/setuptools/command/bdist_egg.py", line 166, in call_command
>
> self.run_command(cmdname)
>
> File "/Users/draible1/anaconda/lib/python2.7/distutils/cmd.py", line
> 326, in run_command
>
> self.distribution.run_command(command)
>
> File "/Users/draible1/anaconda/lib/python2.7/distutils/dist.py", line
> 972, in run_command
>
> cmd_obj.run()
>
> File "/Users/draible1/anaconda/lib/python2.7/site-
>
> packages/setuptools/command/install_lib.py", line 20, in run
>
> self.build()
>
> File
> "/Users/draible1/anaconda/lib/python2.7/distutils/command/install_lib.py",
> line 111, in
>
> build
>
> self.run_command('build_ext')
>
> File "/Users/draible1/anaconda/lib/python2.7/distutils/cmd.py", line
> 326, in run_command
>
> self.distribution.run_command(command)
>
> File "/Users/draible1/anaconda/lib/python2.7/distutils/dist.py", line
> 972, in run_command
>
> cmd_obj.run()
>
> File "/Users/draible1/anaconda/lib/python2.7/site-
>
> packages/numpy/distutils/command/build_ext.py", line 181, in run
>
> self._cxx_compiler = compiler.cxx_compiler()
>
> File
> "/Users/draible1/anaconda/lib/python2.7/site-packages/numpy/distutils/ccompiler.py",
> line
>
> 486, in CCompiler_cxx_compiler
>
> cxx.compiler_so = [cxx.compiler_cxx[0]] + cxx.compiler_so[1:]
>
> TypeError: can only concatenate list (not "unicode") to list
> --
> You received this message because you are subscribed to the Google
> Groups "pythonvision" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to pythonvision...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>


David Raible

unread,
May 9, 2013, 8:59:10 PM5/9/13
to python...@googlegroups.com
I do have a c++ compiler installed.
However I used MacPorts and successfully installed.
Thanks!
Reply all
Reply to author
Forward
0 new messages