Closed TurBoss closed 3 years ago
python 2 log
$ pip install -U vext.vtk
WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.
Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue.
To avoid this problem you can invoke Python with '-m pip' instead of running pip directly.
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
Defaulting to user installation because normal site-packages is not writeable
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting vext.vtk
Using cached vext.vtk-0.7.4.tar.gz (7.5 kB)
Requirement already satisfied, skipping upgrade: vext>=0.7.4 in /home/pi/.local/lib/python2.7/site-packages (from vext.vtk) (0.7.4)
Requirement already satisfied, skipping upgrade: ruamel.yaml>=0.11.10 in /home/pi/.local/lib/python2.7/site-packages (from vext>=0.7.4->vext.vtk) (0.16.12)
Requirement already satisfied, skipping upgrade: ruamel.ordereddict; platform_python_implementation == "CPython" and python_version <= "2.7" in /home/pi/.local/lib/python2.7/site-packages (from ruamel.yaml>=0.11.10->vext>=0.7.4->vext.vtk) (0.4.15)
Requirement already satisfied, skipping upgrade: ruamel.yaml.clib>=0.1.2; platform_python_implementation == "CPython" and python_version < "3.9" in /home/pi/.local/lib/python2.7/site-packages (from ruamel.yaml>=0.11.10->vext>=0.7.4->vext.vtk) (0.2.2)
Building wheels for collected packages: vext.vtk
Building wheel for vext.vtk (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-__3Yey/vext-vtk/setup.py'"'"'; __file__='"'"'/tmp/pip-install-__3Yey/vext-vtk/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-qI1vpt
cwd: /tmp/pip-install-__3Yey/vext-vtk/
Complete output (23 lines):
running bdist_wheel
running build
installing to build/bdist.linux-armv7l/wheel
running install
vext.vtk Install
Not installing PTH file to real prefix
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-__3Yey/vext-vtk/setup.py", line 101, in <module>
data_files=[("", vext_files)],
File "/home/pi/.local/lib/python2.7/site-packages/setuptools/__init__.py", line 162, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/usr/lib/python2.7/dist-packages/wheel/bdist_wheel.py", line 240, in run
self.egg2dist(self.egginfo_dir, distinfo_dir)
File "/usr/lib/python2.7/dist-packages/wheel/bdist_wheel.py", line 337, in egg2dist
raise ValueError(err)
ValueError: Egg metadata expected at build/bdist.linux-armv7l/wheel/vext.vtk-0.7.4-py2.7.egg-info but not found
----------------------------------------
ERROR: Failed building wheel for vext.vtk
Running setup.py clean for vext.vtk
Failed to build vext.vtk
Installing collected packages: vext.vtk
Running setup.py install for vext.vtk ... done
Successfully installed vext.vtk
I've got a rasperrypi 4, but no time to look at this for quite a while.
VTK works OK, outside the virtualenv, without vext ?
from pip it doesn't install there are no binaries for arm but a guy managed to compile with qt5 support
Vext.vtk just lets you use your existing vext from a virtualenv, do you have it installed somewhere ?
oh ok so i need vtk on system first
thanks
Hello, I'm trying to install vtk using vext in a raspberry pi 4
had success on computer
but this is shown when running pip install vext.vtk on the pi
same for python 2 and 3
thanks