-
Notifications
You must be signed in to change notification settings - Fork 2.5k
TypeError: coercing to Unicode: need string or buffer, list found #7
Comments
I think we tested this only in Python3. We can test in Python 2.7 environment and push patches tomorrow. |
Yes, our code currently have (very few) places where we assumed Python3 was available. |
@wlgcqh I have the impression that your error message comes from the cocoapi compilation, and not from maskrcnn-benchmark? I've just successfully compiled I expect some parts of the code not to work, but I'm working on fixing them now. |
I have installed cocoapi |
So why did you use the installation instructions from cocoapi to install the library? |
🐛 Bug
File "/home/workplace/opt/anaconda2/lib/python2.7/distutils/unixccompiler.py", line 121, in _compile
self.spawn(compiler_so + cc_args + [src, '-o', obj] +
TypeError: coercing to Unicode: need string or buffer, list found
To Reproduce
Steps to reproduce the behavior:
1.python setup.py build_ext install
Expected behavior
Environment
Please copy and paste the output from the
environment collection script from PyTorch
(or fill out the checklist below manually).
You can get the script and run it with:
conda
,pip
, source): sourceAdditional context
The text was updated successfully, but these errors were encountered: