Open PanffeeReal opened 2 years ago
The same problem appears when I use Testing-only installation:
ERROR: Failed building wheel for fcos
Help me please,Thank you very much !
I meet the same error,who can help me...(ㄒoㄒ)
@PanffeeReal @fsted
TL;DR: Uninstall setuptools-scm
.
I found the workaround.
You two must had installed cocoapi
, and matplotlib
which is one of dependencies for cocoapi
.
At 2021/11/16 (16days ago), matplotlib
v3.5.0 has been released, and matplotlib
depends on setuptools-scm
since this version.
I'm not sure of the details, but it seems that this package breaks the behavior of setuptools
package.
So, the workarounds are below:
setuptools-scm
after installing cocoapi
, orsetup.py
of cocoapi
to install matplotlib <= 3.4
, ormatplotlib <= 3.4
at first.If you just want to install and use FCOS, 1st one is the easiest I think.
I have reproduced this problem and have confirmed to fix by either of 1st and 3rd workarounds (I've not checked 2nd one, but it should also work).
I hope that this post will help you.
ADD : The developer of setuptools_scm
told me that:
setuptools_scm
is expectedsetuptools_scm
before affected packagesSo, in this context you don't need to hesitate to uninstall it.
Here I encountered a problem as:
$ python setup.py build develop --no-deps running build running build_py running egg_info writing fcos.egg-info/PKG-INFO writing dependency_links to fcos.egg-info/dependency_links.txt writing requirements to fcos.egg-info/requires.txt writing top-level names to fcos.egg-info/top_level.txt reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'fcos.egg-info/SOURCES.txt' error: can't copy 'fcos/configs': doesn't exist or not a regular file
because focs/configs is a folder instead of a file ,so how to deal with it ? thanks l a lot !