<div dir="ltr">Hi Quang,<div><br></div><div>The exact same thing happened to me a few weeks ago while building Paraview 5.4 with Python3.</div><div><br></div><div>To solve it you need to move and rename some files because Python's convention for naming precompiled code changed in Python3. In my case, I could see the precompiled files in paraview_build/lib/site-packages/__pycache__ (where paraview_build is, of course, my building dir). You'll probably find two files in there, named <b>six.cpython-PYVER.pyc</b> and <b>six.cpython-PYVER.opt-1.pyc</b> (PYVER is your version of python, 35 in my case, for 3.5). You need to move them to <b>../six.pyc</b> and <b>../six.pyo</b> (note the ../ meaning they end up in the site-packages directory, not __pycache__).</div><div><br></div><div>With that manual changes, make installed worked like a charm. </div><div><br></div><div>Hope it helps you.</div><div><br></div><div>Cheers,</div><div>Mauro Fontana</div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, Jun 14, 2017 at 6:19 PM Quang Ha <<a href="mailto:quang.t.ha.20@gmail.com">quang.t.ha.20@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>I was trying to build and install paraview with Python 3. Build was fine, make was 100% complete. Make install not so much...</div><div><br></div><div><div>[100%] Built target paraview</div><div>[100%] Built target paraview-launcher</div></div><div><div>Install the project...</div><div>-- Install configuration: "Debug"</div><div>-- Up-to-date: /usr/local/lib/paraview-5.4/libvtkPVPythonCatalystPython35D-pv5.4.so.1</div><div>-- Up-to-date: /usr/local/lib/paraview-5.4/<a href="http://libvtkPVPythonCatalystPython35D-pv5.4.so" target="_blank">libvtkPVPythonCatalystPython35D-pv5.4.so</a></div><div>-- Up-to-date: /usr/local/lib/paraview-5.4/site-packages/vtk/vtkPVPythonCatalystPython.so</div><div>-- Up-to-date: /usr/local/lib/paraview-5.4/.plugins</div><div>-- Up-to-date: /usr/local/lib/paraview-5.4/libvtksys-pv5.4.so.1</div><div>-- Up-to-date: /usr/local/lib/paraview-5.4/<a href="http://libvtksys-pv5.4.so" target="_blank">libvtksys-pv5.4.so</a></div><div>-- Up-to-date: /usr/local/lib/paraview-5.4/libvtkCommonCore-pv5.4.so.1</div><div>-- Up-to-date: /usr/local/lib/paraview-5.4/<a href="http://libvtkCommonCore-pv5.4.so" target="_blank">libvtkCommonCore-pv5.4.so</a></div><div>-- Up-to-date: /usr/local/lib/paraview-5.4/site-packages/six.py</div><div>CMake Error at VTK/ThirdParty/SixPython/cmake_install.cmake:36 (file):</div><div> file INSTALL cannot find</div><div> "/home/qth20/paraview/build/lib/site-packages/six.pyc".</div><div>Call Stack (most recent call first):</div><div> VTK/cmake_install.cmake:42 (include)</div><div> cmake_install.cmake:94 (include)</div></div><div><br></div><div><br></div><div><div>Makefile:71: recipe for target 'install' failed</div><div>make: *** [install] Error 1</div></div><div><br></div><div>After utilising some google-fu I arrived at this: <a href="http://vtk.1045678.n5.nabble.com/VTK-Python-3-and-the-six-module-install-error-on-six-pyc-td5743242.html" target="_blank">http://vtk.1045678.n5.nabble.com/VTK-Python-3-and-the-six-module-install-error-on-six-pyc-td5743242.html</a> - which seems to have been merged into master already. What else should I tried in this case?</div><div><br></div><div>Thanks,</div><div>Quang</div></div>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">http://markmail.org/search/?q=ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/paraview</a><br>
</blockquote></div>