Building TVTK classes... Traceback (most recent call last):


 "setup.py", line 474, in <module>


 "/usr/lib/python3/dist-packages/numpy/distutils/core.py", line 171, in setup

return old_setup(**new_attr)


 "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 145, in setup

return distutils.core.setup(**attrs)


 "/usr/lib/python3.7/distutils/core.py", line 148, in setup

dist.run_commands()


 "/usr/lib/python3.7/distutils/dist.py", line 966, in run_commands

self.run_command(cmd)


 "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command

cmd_obj.run()


 "setup.py", line 268, in run


 "setup.py", line 254, in build_tvtk_classes_zip


 "tvtk/setup.py", line 99, in gen_tvtk_classes_zip

gen.generate_code()


 "/build/mayavi2-4.7.1/tvtk/code_gen.py", line 131, in generate_code

self._write_wrapper_class(node, tvtk_name)


 "/build/mayavi2-4.7.1/tvtk/code_gen.py", line 221, in _write_wrapper_class

self.wrap_gen.generate_code(node, out)


 "/build/mayavi2-4.7.1/tvtk/wrapper_gen.py", line 250, in generate_code

self._gen_methods(node, out)


 "/build/mayavi2-4.7.1/tvtk/wrapper_gen.py", line 371, in _gen_methods

self._gen_get_methods(klass, out)


 "/build/mayavi2-4.7.1/tvtk/wrapper_gen.py", line 919, in _gen_get_methods

if len(sig) == 1 and sig[0][1] is None:
TypeError: object of type 'NoneType' has no len()

Traceback (most recent call last):


 "setup.py", line 30, in <module>

with open(version_path, 'w') as f:
TypeError: expected str, bytes or os.PathLike object, not PosixPath
