Thank you! That solved it. Thanks for your great work!
Soren On Tuesday, January 9, 2018 at 9:54:36 AM UTC-8, Carlos Córdoba wrote: > > Please see > > https://github.com/spyder-ide/spyder/issues/5299 > > for a temporal solution. > > > Cheers, > Carlos > > El 09/01/18 a las 01:07, Soren Christensen escribió: > > Hi, > I am using spyder 3.2.5 in a fully updated anconda2 environment on > Ubuntu 16.04. > I install the itk package: > conda install --channel https://conda.anaconda.org/conda-forge itk > > When using this from spyders ipython console I get the error at the end of > this message. > If I issue the same two commands in ipython from the command line (but > also part of the anaconda 2 install), then I don't get the error. > > Any ideas what is going wrong and why appreciated! > > Thanks. > Soren > > > In [1]: import itk > > In [2]: itk.Image > > Traceback (most recent call last): > > File "<ipython-input-2-72d3246fd559>", line 1, in <module> > > itk.Image > > File "/home/sorenc/anaconda2/lib/python2.7/site-packages/itkLazy.py", > line 44, in __getattribute__ > > itkBase.LoadModule(module, namespace) > > File "/home/sorenc/anaconda2/lib/python2.7/site-packages/itkBase.py", > line 118, in LoadModule > > LoadModule(dep, namespace) > > File "/home/sorenc/anaconda2/lib/python2.7/site-packages/itkBase.py", > line 128, in LoadModule > > module = loader.load(swigModuleName) > > File "/home/sorenc/anaconda2/lib/python2.7/site-packages/itkBase.py", > line 250, in load > > return imp.load_module(name, fp, pathname, description) > > File > "/home/sorenc/anaconda2/lib/python2.7/site-packages/itk/Configuration/../ITKPyBasePython.py", > > line 21, in <module> > > _ITKPyBasePython = swig_import_helper() > > File > "/home/sorenc/anaconda2/lib/python2.7/site-packages/itk/Configuration/../ITKPyBasePython.py", > > line 18, in swig_import_helper > > return importlib.import_module(mname) > > File "/home/sorenc/anaconda2/lib/python2.7/importlib/__init__.py", line 37, > in import_module > > __import__(name) > > File > "/home/sorenc/anaconda2/lib/python2.7/site-packages/pyximport/pyximport.py", > line 302, in find_module > > elif os.path.isfile(path): > > File "/home/sorenc/anaconda2/lib/python2.7/genericpath.py", line 37, in > isfile > > st = os.stat(path) > > TypeError: coercing to Unicode: need string or buffer, list found > > In [3]: > > In [3]: > -- > You received this message because you are subscribed to the Google Groups > "spyder" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] <javascript:>. > To post to this group, send email to [email protected] > <javascript:>. > Visit this group at https://groups.google.com/group/spyderlib. > For more options, visit https://groups.google.com/d/optout. > > > -- You received this message because you are subscribed to the Google Groups "spyder" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/spyderlib. For more options, visit https://groups.google.com/d/optout.
