I've been trying to install jupyter-rs-vtk and -radia on debian 8 under python 3.7. I gathered that vtk was a prerequisite, and it looks like nodejs (npm) as well?
I've tried this using nodejs 13.0.1 and 13.6.0. When I attempt
pip install . --user
the install proceeds without issue (but of course it's not usable without the extensions enabled). However if I do this using sudo I get the error message copied below.
audited 3494 packages in 2.107s
found 1 low severity vulnerability
run `npm audit fix` to fix them, or `npm audit` for details
rebuilding js and css failed
missing files: ['/tmp/pip-req-build-_8kbxun0/jupyter_rs_vtk/static/extension.js', '/tmp/pip-req-build-_8kbxun0/jupyter_rs_vtk/static/index.js']
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-req-build-_8kbxun0/setup.py", line 181, in <module>
setup(**setup_args)
File "/opt/apps/python/3.7.3/lib/python3.7/site-packages/setuptools/__init__.py", line 145, in setup
return distutils.core.setup(**attrs)
File "/opt/apps/python/3.7.3/lib/python3.7/distutils/core.py", line 148, in setup
dist.run_commands()
File "/opt/apps/python/3.7.3/lib/python3.7/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/opt/apps/python/3.7.3/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/tmp/pip-req-build-_8kbxun0/setup.py", line 45, in run
raise e
File "/tmp/pip-req-build-_8kbxun0/setup.py", line 38, in run
self.distribution.run_command('jsdeps')
File "/opt/apps/python/3.7.3/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/tmp/pip-req-build-_8kbxun0/setup.py", line 118, in run
raise ValueError(msg)
ValueError: Missing file: /tmp/pip-req-build-_8kbxun0/jupyter_rs_vtk/static/extension.js
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.