<div dir="ltr"><div>Hi Samuel,<br><br></div><div>thank you for the reply!<br></div><div>Finally there is solution for arch linux (also manjaro)!<br></div><div>So, in case someone has the same problem, he needs to install<font size="2"> <b>vtk-qt4 7.0.0-2 </b>(here: <a href="https://aur.archlinux.org/packages/vtk-qt4/">https://aur.archlinux.org/packages/vtk-qt4/</a>)<br></font></div><div><font size="2">and it works!<br><br></font></div><div><font size="2">Cheers,<br></font></div><div><font size="2">Vassia<br></font></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 12 June 2016 at 20:13, Samuel St-Jean <span dir="ltr"><<a href="mailto:stjeansam@gmail.com" target="_blank">stjeansam@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<p>I am currently on arch (manjaro uses the same repo for the most
part), and I just realized it is indeed plain broken, I'll flag a
bug report for that. The repos also have vtk6, which get installed
to a non standard path, and is also broken unfortunately.</p>
<p><br>
</p>
<p>If you don't need it right now, they usually fix and rebuild
stuff pretty fast, so might be worth to wait a few days before
compiling everything in cmake if it's not urgent.<br>
</p><div><div class="h5">
<br>
<div>Le 2016-06-12 à 19:25, Vassia
Katsageorgiou a écrit :<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>Hi Ariel,<br>
<br>
</div>
Thank you very much for the reply!<br>
</div>
So, this is what happens if you import vtk in
python:<br>
<br>
</div>
<div>
<div style="margin-left:80px">---------------------------------------------------------------------------<br>
ImportError
Traceback (most recent call last)<br>
<ipython-input-1-b7e11aadda62> in
<module>()<br>
----> 1 import vtk<br>
<br>
/usr/lib/python2.7/site-packages/vtk/__init__.py
in <module>()<br>
88 from .vtkParallelCore import *<br>
89 from .vtkFiltersAMR import *<br>
---> 90 from .vtkIOAMR import *<br>
91 from .vtkRenderingVolumeOpenGL2 import *<br>
92 from .vtkFiltersFlowPaths import *<br>
<br>
/usr/lib/python2.7/site-packages/vtk/vtkIOAMR.py
in <module>()<br>
7 # during build and testing, the
modules will be elsewhere,<br>
8 # e.g. in lib directory or
Release/Debug config directories<br>
----> 9 from vtkIOAMRPython import *<br>
<br>
ImportError: No module named vtkIOAMRPython<br>
</div>
<br>
</div>
I found this link, which I think will work: <a href="http://ghoshbishakh.github.io/blog/blogpost/2016/03/05/buid-vtk.html" target="_blank"></a><a href="http://ghoshbishakh.github.io/blog/blogpost/2016/03/05/buid-vtk.html" target="_blank">http://ghoshbishakh.github.io/blog/blogpost/2016/03/05/buid-vtk.html</a><br>
<br>
</div>
Though, after "cmake ." I get another error:<br>
<br>
</div>
<div style="margin-left:80px">CMake Error at
CMake/vtkCompilerExtras.cmake:47 (if):<br>
if given arguments:<br>
<br>
"cc: error: ARGS: No such file or directory<br>
<br>
cc (GCC) 6.1.1 20160501<br>
<br>
Copyright (C) 2016 Free Software Foundation, Inc.<br>
<br>
This is free software" " see the source for copying
conditions. There is<br>
NO<br>
<br>
warranty" " not even for MERCHANTABILITY or FITNESS
FOR A PARTICULAR<br>
PURPOSE.<br>
<br>
<br>
<br>
" "VERSION_GREATER" "4.2.0" "AND"
"BUILD_SHARED_LIBS" "AND"<br>
"HAVE_GCC_VISIBILITY" "AND" "VTK_USE_GCC_VISIBILITY"
"AND" "NOT" "MINGW"<br>
"AND" "NOT" "CYGWIN"<br>
<br>
Unknown arguments specified<br>
Call Stack (most recent call first):<br>
CMakeLists.txt:286 (include)<br>
<br>
<br>
-- Configuring incomplete, errors occurred!<br>
</div>
<br>
</div>
Which I think is due to gcc's compilation.. I am trying to
fix this.. If I manage to, I will report it!<br>
<br>
</div>
But of course, if you had to suggest something different, it
would be welcomed! :)<br>
<br>
</div>
Thanks again,<br>
</div>
Vassia<br>
<br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On 12 June 2016 at 18:58, Ariel Rokem <span dir="ltr"><<a href="mailto:arokem@gmail.com" target="_blank">arokem@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hi Vassia,
<div class="gmail_extra"><br>
</div>
<div class="gmail_extra">Thanks for your email. Let's see
if I can be helpful. <br>
<div class="gmail_quote"><span>On Sun, Jun 12,
2016 at 6:46 AM, Vassia Katsageorgiou <span dir="ltr"><<a href="mailto:kats.vassia@gmail.com" target="_blank">kats.vassia@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div>Hello,<br>
<br>
I recently installed dipy and all the required
additional packages, including vtk, but when I
try to use fvtk for visualization (for example
"r=fvtk.ren()", or "fvtk.line()") I get the
error "no module ren, line..".<br>
I searched this error and I found these posts:<br>
<br>
<a href="https://github.com/nipy/dipy/issues/1016" target="_blank">https://github.com/nipy/dipy/issues/1016</a><br>
<a href="https://neurostars.org/p/3724/" target="_blank">https://neurostars.org/p/3724/</a><br>
<br>
</div>
saying that vtk needs to be installed (which in
my case is installed). I am using python2 under
manjaro linux distribution and I have installed
vtk-7, I tried also with vtk-6, but the same
happens. I also tried to add in the python path
the path to vtk's installation and the problem
remains.<br>
<div> Did anyone using linux have the same
problem? Any suggestion?<br>
</div>
</div>
</blockquote>
<div><br>
</div>
</span>
<div>But first let me just make sure that I understand
what is going on. What happens when you `import vtk`
in Python? </div>
<div><br>
</div>
<div>Cheers, </div>
<div><br>
</div>
<div>Ariel</div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>
<div dir="ltr">
<div>Thank you.<span><font color="#888888"><br>
</font></span></div>
<span><font color="#888888">
<div>Vassia<br clear="all">
</div>
<div><br>
-- <br>
<div data-smartmail="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr"><span></span><b>Vasiliki-Maria
Katsageorgiou</b>, M.Eng.<br>
<br>
<div>
<div style="color:rgb(0,0,0)"><font face="arial, helvetica,
sans-serif">Fellow-PhD, Pattern
Analysis and Computer Vision</font><br>
</div>
<div style="color:rgb(0,0,0)">Istituto
Italiano di Tecnologia<br>
</div>
<div style="color:rgb(0,0,0)">Genova,
Italy<br>
</div>
<div><span><br>
</span></div>
<span></span>
<div>Phone number: <a href="tel:%2B39%203899171853" value="+393899171853" target="_blank">+39
3899171853</a><br>
</div>
<div>E-mail: <a href="mailto:kats.vassia@gmail.com" target="_blank"></a><a href="mailto:kats.vassia@gmail.com" target="_blank">kats.vassia@gmail.com</a> <br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</font></span></div>
<br>
</span>_______________________________________________<br>
Neuroimaging mailing list<br>
<a href="mailto:Neuroimaging@python.org" target="_blank">Neuroimaging@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/neuroimaging" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/neuroimaging</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
<br>
_______________________________________________<br>
Neuroimaging mailing list<br>
<a href="mailto:Neuroimaging@python.org" target="_blank">Neuroimaging@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/neuroimaging" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/neuroimaging</a><br>
<br>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
<div data-smartmail="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr"><span></span><b>Vasiliki-Maria
Katsageorgiou</b>, M.Eng.<br>
<br>
<div>
<div style="color:rgb(0,0,0)"><font face="arial,
helvetica, sans-serif">Fellow-PhD, Pattern
Analysis and Computer Vision</font><br>
</div>
<div style="color:rgb(0,0,0)">Istituto Italiano di
Tecnologia<br>
</div>
<div style="color:rgb(0,0,0)">Genova, Italy<br>
</div>
<div><span><br>
</span></div>
<span></span>
<div>Phone number: <a href="tel:%2B39%203899171853" value="+393899171853" target="_blank">+39 3899171853</a><br>
</div>
<div>E-mail: <a href="mailto:kats.vassia@gmail.com" target="_blank">kats.vassia@gmail.com</a> <br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
Neuroimaging mailing list
<a href="mailto:Neuroimaging@python.org" target="_blank">Neuroimaging@python.org</a>
<a href="https://mail.python.org/mailman/listinfo/neuroimaging" target="_blank">https://mail.python.org/mailman/listinfo/neuroimaging</a>
</pre>
</blockquote>
<br>
</div></div></div>
<br>_______________________________________________<br>
Neuroimaging mailing list<br>
<a href="mailto:Neuroimaging@python.org">Neuroimaging@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/neuroimaging" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/neuroimaging</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><span></span><b>Vasiliki-Maria Katsageorgiou</b>, M.Eng.<br><br><div><div style="color:rgb(0,0,0)"><font face="arial, helvetica, sans-serif">Fellow-PhD, Pattern Analysis and Computer Vision</font><br></div><div style="color:rgb(0,0,0)">Istituto Italiano di Tecnologia<br></div><div style="color:rgb(0,0,0)">Genova, Italy<br></div><div><span style="font-family:'Segoe UI',Helvetica,Arial,sans-serif"><br></span></div><span></span><div>Phone number: +39 3899171853<br></div><div>E-mail: <a href="mailto:kats.vassia@gmail.com" target="_blank">kats.vassia@gmail.com</a> <br></div></div></div></div></div></div>
</div>