Closed nikky4D closed 2 years ago
Thanks. Using the link, I removed the extra_compile_args=['-Wno-cpp', '-Wno-unused-function', '-std=c99']
, then installed cython. That seems to work for the install.
Will the pip install be fixed soon?
Hello guys,
Same problem here. pip install gives me the same:
pip install xtcocotools
ERROR: Could not find a version that satisfies the requirement xtcocotools (from versions: none)
ERROR: No matching distribution found for xtcocotools
and when trying to install from sources on macOS 11.0.1 with python 3.6 I get
python setup.py install
running install
running bdist_egg
running egg_info
creating xtcocotools.egg-info
writing xtcocotools.egg-info/PKG-INFO
writing dependency_links to xtcocotools.egg-info/dependency_links.txt
writing requirements to xtcocotools.egg-info/requires.txt
writing top-level names to xtcocotools.egg-info/top_level.txt
writing manifest file 'xtcocotools.egg-info/SOURCES.txt'
reading manifest file 'xtcocotools.egg-info/SOURCES.txt'
writing manifest file 'xtcocotools.egg-info/SOURCES.txt'
installing library code to build/bdist.macosx-10.9-x86_64/egg
running install_lib
running build_py
creating build
creating build/lib.macosx-10.9-x86_64-3.6
creating build/lib.macosx-10.9-x86_64-3.6/xtcocotools
copying xtcocotools/coco.py -> build/lib.macosx-10.9-x86_64-3.6/xtcocotools
copying xtcocotools/mask.py -> build/lib.macosx-10.9-x86_64-3.6/xtcocotools
copying xtcocotools/__init__.py -> build/lib.macosx-10.9-x86_64-3.6/xtcocotools
copying xtcocotools/cocoeval.py -> build/lib.macosx-10.9-x86_64-3.6/xtcocotools
running build_ext
building 'xtcocotools._mask' extension
creating build/temp.macosx-10.9-x86_64-3.6
creating build/temp.macosx-10.9-x86_64-3.6/common
creating build/temp.macosx-10.9-x86_64-3.6/xtcocotools
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch x86_64 -g -I/Users/lweingart/.virtualenvs/droning_micr/lib/python3.6/site-packages/numpy/core/include -I./common -I/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m -c ./common/maskApi.c -o build/temp.macosx-10.9-x86_64-3.6/./common/maskApi.o -Wno-cpp -Wno-unused-function -std=c99
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch x86_64 -g -I/Users/lweingart/.virtualenvs/droning_micr/lib/python3.6/site-packages/numpy/core/include -I./common -I/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m -c xtcocotools/_mask.c -o build/temp.macosx-10.9-x86_64-3.6/xtcocotools/_mask.o -Wno-cpp -Wno-unused-function -std=c99
clang: error: no such file or directory: 'xtcocotools/_mask.c'
clang: error: no input files
error: command 'gcc' failed with exit status 1
Thank you for your help
Laurent
Do you have cython installed for your system? I had similar issues in my install.
Thank you @nikky4D ,
I installed cython and then was indeed able to install from source successfully. Thanks again
Laurent
fixed in v1.11.
Computer: Win10, Package manager: Anaconda Python: 3.8
I did a pip install xtcocotools, and it keeps giving:
When I build from source by cloning the repo, and doing
python setup.py install
, I get:Any help on this issue?