Error install on Python 3.8 (rc1) [from git repo]
This is a follow-up on #17670 (closed).
Even with the new fix fix installed, I still get compile errors from the current git version:
pip3 install git+https://gitlab.kitware.com/vtk/vtk
Collecting git+https://gitlab.kitware.com/vtk/vtk
Cloning https://gitlab.kitware.com/vtk/vtk to /tmp/pip-req-build-0qd5q1p7
Running command git clone -q https://gitlab.kitware.com/vtk/vtk /tmp/pip-req-build-0qd5q1p7
Running command git submodule update --init --recursive -q
ERROR: Command errored out with exit status 1:
command: /home/alex/Python/bin/python3.8 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-0qd5q1p7/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-0qd5q1p7/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base pip-egg-info
cwd: /tmp/pip-req-build-0qd5q1p7/
Complete output (5 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/alex/Python/lib/python3.8/tokenize.py", line 392, in open
buffer = _builtin_open(filename, 'rb')
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-req-build-0qd5q1p7/setup.py'
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
I downloaded the version from git git clone https://gitlab.kitware.com/vtk/vtk
but after that that I could not locate any trace of installation instructions on your web page on how to build a python package.
I found https://vtk.org/Wiki/VTK/Configure_and_Build
, which is sort of outdated and incomplete. Even if ccmake is told to generate a python version 3, I only end up with a lib64/python2.7
. And no wheel or python setup.py
.
If you would have any information on how to build a python wheel, that will be much appreciated. Maybe I am just not seeing the tree in the forest. It may be very simple.