mmskeleton icon indicating copy to clipboard operation
mmskeleton copied to clipboard

problem about no module named 'mmdet'

Open wuzieryun opened this issue 5 years ago • 8 comments

In setup.py(latest version of 2019.8.29), the 52 line code is "from mmdet.version import version".But my interpreter tell me there is no module named 'mmdet'. Can someone help me? Much thanks!

wuzieryun avatar Sep 03 '19 13:09 wuzieryun

mmdet is from mmdetection

kdy1999 avatar Sep 03 '19 16:09 kdy1999

But I am a windows user, mmdetection has no offical version for windows. Can I just use mmskeleton without mmdetection?

wuzieryun avatar Sep 04 '19 08:09 wuzieryun

@wuzieryun, @junhao1999, Thank you for your feedback. This bug has been fixed in the latest master branch.

yysijie avatar Sep 11 '19 21:09 yysijie

Hello, I still have this problem when installed the mmskeleton. When I run ’python setup.py develop‘, some errors come out:

Installed /data/home/amaxcuda8/mmskeleton Processing dependencies for mmskeleton==0.1rc0+b6290c2 Searching for mmdet>=1.0rc0 Reading https://pypi.org/simple/mmdet/ Couldn't find index page for 'mmdet' (maybe misspelled?) Scanning index of all packages (this may take a while) Reading https://pypi.org/simple/ No local packages or working download links found for mmdet>=1.0rc0 error: Could not find suitable distribution for Requirement.parse('mmdet>=1.0rc0')

Maybe the python dependencies 'mmdet' is the problem. I tried to access the website https://pypi.org/simple/mmdet/ for the python package, it cannot be accessed again.

Could someone know how to fix it? thanks!

liangchengwu avatar Sep 24 '19 04:09 liangchengwu

@liangchengwu you should run: pip install -r requirements.txt before 'python setup.py develop'

suarezyan avatar Sep 27 '19 02:09 suarezyan

when i run'pip install -r requirements.txt'. some errors come out:'ValueError: 'mmdet/ops/nms/src/soft_nms_cpu.pyx' doesn't match any files' Could you know how to fix it? @yysijie

hyaxzz avatar Dec 11 '19 11:12 hyaxzz

@suarezyan when i installing the mmdet with python setup.py develop it give me this error. "TypeError: stat: path should be string, bytes, os.PathLike or integer, not list" Any suggestion how to fix it? Thank you in advance

vickykhan89 avatar Apr 13 '20 10:04 vickykhan89

when i use "python setup.py develop",there is a problem: from setuptools import find_packages, setup File "/usr/lib/python3/dist-packages/setuptools/init.py", line 5, in import distutils.core ModuleNotFoundError: No module named 'distutils.core'

Kayce001 avatar Feb 11 '22 11:02 Kayce001