Defaulting to user installation because normal site-packages is not writeable
Collecting git+https://github.com/facebookresearch/detectron2.git
Cloning https://github.com/facebookresearch/detectron2.git to /tmp/pip-req-build-2knyo1_1
ERROR: Command errored out with exit status -11:
command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-2knyo1_1/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-2knyo1_1/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 /tmp/pip-pip-egg-info-7yagxbxv
cwd: /tmp/pip-req-build-2knyo1_1/
Complete output (0 lines):
----------------------------------------
ERROR: Command errored out with exit status -11: python setup.py egg_info Check the logs for full command output.
Unused I re-set up and installed using the new Jetson NX and MicroSD (32GB).
(Unused item purchased as a spare)
However, I get an error when installing Detectron2.
Obtaining file:///home/jetson/Desktop/detectron2
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File “”, line 1, in
File “/home/jetson/Desktop/detectron2/setup.py”, line 10, in
import torch
File “/home/jetson/.local/lib/python3.6/site-packages/torch/init.py”, line 189, in
_load_global_deps()
File “/home/jetson/.local/lib/python3.6/site-packages/torch/init.py”, line 142, in _load_global_deps
ctypes.CDLL(lib_path, mode=ctypes.RTLD_GLOBAL)
File “/usr/lib/python3.6/ctypes/init.py”, line 348, in init
self._handle = _dlopen(self._name, mode)
OSError: libmpi_cxx.so.20: cannot open shared object file: No such file or directory
----------------------------------------
Command “python setup.py egg_info” failed with error code 1 in /home/jetson/Desktop/detectron2/