Setting up VTK, with python3.8 and Ubuntu 20.04

前端 未结 2 866
说谎
说谎 2021-01-15 14:31

I recently updated my system to Ubunutu 20.04, and my python is now 3.8. Since then all my import vtk lines don\'t work,



        
2条回答
  •  無奈伤痛
    2021-01-15 15:02

    Use apt-get install python3-vtk7 (https://packages.ubuntu.com/focal/python3-vtk7) for ubuntu 20.04.

    The python-vtk package is only available for ubuntu 16.04 (https://packages.ubuntu.com/xenial/python-vtk).

    There are no vtk pip wheels for python 3.8, though they do exist for older versions of python. See https://pypi.org/project/vtk/#files

提交回复
热议问题