Skip to content

jetson nx Compilation and installation problems #326

@starhou

Description

@starhou

version:
R32 (release), REVISION: 5.2, GCID: 27767740, BOARD: t186ref, EABI: aarch64, DATE: Fri Jul 9 16:05:07 UTC 2021
cuda 10.2

MMDeploy$ pip3 install -e .
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple, https://pypi.ngc.nvidia.com
Obtaining file:///home/nx/hxy/MMDeploy
  Preparing metadata (setup.py) ... error
  ERROR: Command errored out with exit status -4:
   command: /home/nx/hxy/MMDeploy/venv-mmdet/bin/python3 -c 'import io, os, sys, setuptools, tokeoy/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --eg
       cwd: /home/nx/hxy/MMDeploy/
  Complete output (0 lines):
  ----------------------------------------
WARNING: Discarding file:///home/nx/hxy/MMDeploy. Command errored out with exit status -4: python
ERROR: Command errored out with exit status -4: python setup.py egg_info Check the logs for full

MMDeploy$ python setup.py egg_info
非法指令 (核心已转储)
MMDeploy$  python setup.py egg_info
Traceback (most recent call last):
  File "setup.py", line 3, in <module>
    from setuptools import find_packages, setup
ImportError: No module named setuptools

I ran

cd ${MMDEPLOY_DIR}
mkdir -p build && cd build
cmake -DCMAKE_CXX_COMPILER=g++-7 -DMMDEPLOY_TARGET_BACKENDS=trt -DTENSORRT_DIR=${TENSORRT_DIR} -DCUDNN_DIR=${CUDNN_DIR} ..
make -j$(nproc)

It is ok, then i ran

cd ${MMDEPLOY_DIR}
pip install -e .

I got that error!
help me, big handsome boys, 3q~

when I import setuptools,it works well like this
afc9790a7d1e274922dcf36c06b1c06

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions