[Neuroimaging] [dipy] Issues trying to install dipy
Jon Haitz Legarreta
jhlegarreta at vicomtech.org
Wed May 18 13:10:39 EDT 2016
Hi there,
I'm a newbie to dipy.
I was trying to follow the instructions in [1] to have dipy installed from
the source code, so that I could execute the dipy examples.
I'm using Windows 10 and Anaconda 3.
When trying to execute
*python setup.py develop*
the Anaconda prompt yields an error that says in the end:
*File: "C:\Anaconda3\lib\distutils\cygwinccompiler.py", line 126,
__init__if self.ld_version >= "2.10.90":TypeError: unorderable types:
NoneType() >= str()*
I've been googling for a solution without success.
I don't know whether this looks like Anaconda3 is trying to use cygwin
instead of mingw32, and whether that is the root cause.
In either case, does anyone know how to solve the issue?
Attached is the trace (it's short) of the error if this is of any help.
Thank you,
JON HAITZ
[1] http://nipy.org/dipy/installation.html#install-source-nix
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/neuroimaging/attachments/20160518/744c055e/attachment.html>
-------------- next part --------------
C:\Anaconda3\lib\site-packages\setuptools-19.6.2-py3.5.egg\setuptools\dist.py:285: UserWarning: Normalizing '0.12.0dev' to '0.12.0.dev0'
running develop
running egg_info
writing dipy.egg-info\PKG-INFO
writing top-level names to dipy.egg-info\top_level.txt
package init file 'dipy\data\tests\__init__.py' not found (or not a regular file)
writing dependency_links to dipy.egg-info\dependency_links.txt
writing requirements to dipy.egg-info\requires.txt
reading manifest file 'dipy.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'TODO'
writing manifest file 'dipy.egg-info\SOURCES.txt'
running build_ext
Traceback (most recent call last):
File "setup.py", line 227, in <module>
main(**extra_setuptools_args)
File "setup.py", line 220, in main
**extra_args
File "C:\Anaconda3\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "C:\Anaconda3\lib\distutils\dist.py", line 955, in run_commands
self.run_command(cmd)
File "C:\Anaconda3\lib\distutils\dist.py", line 974, in run_command
cmd_obj.run()
File "C:\Anaconda3\lib\site-packages\setuptools-19.6.2-py3.5.egg\setuptools\command\develop.py", line 34, in run
File "C:\Anaconda3\lib\site-packages\setuptools-19.6.2-py3.5.egg\setuptools\command\develop.py", line 119, in install_for_development
File "C:\Anaconda3\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\Anaconda3\lib\distutils\dist.py", line 974, in run_command
cmd_obj.run()
File "C:\Anaconda3\lib\site-packages\Cython\Distutils\build_ext.py", line 164, in run
_build_ext.build_ext.run(self)
File "C:\Anaconda3\lib\distutils\command\build_ext.py", line 307, in run
force=self.force)
File "C:\Anaconda3\lib\distutils\ccompiler.py", line 1031, in new_compiler
return klass(None, dry_run, force)
File "C:\Anaconda3\lib\distutils\cygwinccompiler.py", line 282, in __init__
CygwinCCompiler.__init__ (self, verbose, dry_run, force)
File "C:\Anaconda3\lib\distutils\cygwinccompiler.py", line 126, in __init__
if self.ld_version >= "2.10.90":
TypeError: unorderable types: NoneType() >= str()
More information about the Neuroimaging
mailing list