[Paraview] Paraview with Python 3 make install failed to find six.pyc
quang.t.ha.20 at gmail.com
Thu Jun 15 06:52:32 EDT 2017
Thanks for your solution Mauro! It works finally! :)
On 14 June 2017 at 19:30, Mauro Fontana <fontana.mauro at gmail.com> wrote:
> Hi Quang,
> The exact same thing happened to me a few weeks ago while building
> Paraview 5.4 with Python3.
> 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 *six.cpython-PYVER.pyc* and
> *six.cpython-PYVER.opt-1.pyc* (PYVER is your version of python, 35 in my
> case, for 3.5). You need to move them to *../six.pyc* and *../six.pyo* (note
> the ../ meaning they end up in the site-packages directory, not
> With that manual changes, make installed worked like a charm.
> Hope it helps you.
> Mauro Fontana
> On Wed, Jun 14, 2017 at 6:19 PM Quang Ha <quang.t.ha.20 at gmail.com> wrote:
>> I was trying to build and install paraview with Python 3. Build was fine,
>> make was 100% complete. Make install not so much...
>> [100%] Built target paraview
>> [100%] Built target paraview-launcher
>> Install the project...
>> -- Install configuration: "Debug"
>> -- Up-to-date: /usr/local/lib/paraview-5.4/libvtkPVPythonCatalystPython35
>> -- Up-to-date: /usr/local/lib/paraview-5.4/li
>> -- Up-to-date: /usr/local/lib/paraview-5.4/site-packages/vtk/
>> -- Up-to-date: /usr/local/lib/paraview-5.4/.plugins
>> -- Up-to-date: /usr/local/lib/paraview-5.4/libvtksys-pv5.4.so.1
>> -- Up-to-date: /usr/local/lib/paraview-5.4/libvtksys-pv5.4.so
>> -- Up-to-date: /usr/local/lib/paraview-5.4/libvtkCommonCore-pv5.4.so.1
>> -- Up-to-date: /usr/local/lib/paraview-5.4/libvtkCommonCore-pv5.4.so
>> -- Up-to-date: /usr/local/lib/paraview-5.4/site-packages/six.py
>> CMake Error at VTK/ThirdParty/SixPython/cmake_install.cmake:36 (file):
>> file INSTALL cannot find
>> Call Stack (most recent call first):
>> VTK/cmake_install.cmake:42 (include)
>> cmake_install.cmake:94 (include)
>> Makefile:71: recipe for target 'install' failed
>> make: *** [install] Error 1
>> After utilising some google-fu I arrived at this: http://vtk.1045678.n5.
>> on-six-pyc-td5743242.html - which seems to have been merged into master
>> already. What else should I tried in this case?
>> Powered by www.kitware.com
>> Visit other Kitware open-source projects at http://www.kitware.com/
>> Please keep messages on-topic and check the ParaView Wiki at:
>> Search the list archives at: http://markmail.org/search/?q=ParaView
>> Follow this link to subscribe/unsubscribe:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ParaView