Recently playing detectron2, need pycocotools >= 2.0.2, python version 3.7, installation error
ERROR: Error expected str, bytes or os.PathLike object, not NoneType while executing command pip subprocess to install build dependencies
It is found that pycocotools updated to 2.0.4. The degraded version can be installed normally:
pip install pycocotools==2.0.2
Read More:
- Python PIP TypeError: expected str, bytes or os.PathLike object, not int
- [Solved] python-sutime Error: the JSON object must be str, bytes or bytearray, not ‘java.lang.String‘
- Typeerror in Python regular expression: expected string or bytes like object
- [Solved] mmdet install error: ERROR: Could not build wheels for pycocotools
- Windows10 DOTA_devkit Error: TypeError: ‘>=‘ not supported between instances of ‘NoneType‘ and ‘str‘
- [Solved] Python Error: TypeError: write() argument must be str, not bytes
- [Solved] Python3.9 Pycropto RSA Error: TypeError: can’t concat str to bytes
- [Solved] AttributeError: ‘NoneType‘ object has no attribute ‘astype‘
- [Solved] TypeError: Object of type ‘bytes’ is not JSON serializable
- Python scatter chart error: TypeError: object of type ‘NoneType’ has no len()
- [Solved] AttributeError: ‘NoneType‘ object has no attribute ‘append‘
- [Solved] Paramiko error: AttributeError: ‘NoneType’ object has no attribute ‘time’
- AttributeError str object has no attribut [How to Solve]
- [2021-10-05] Python Error: AttributeError: ‘NoneType‘ object has no attribute ‘append‘
- [Solved] pandas ExcelWrite AttributeError: ‘NoneType‘ object has no attribute ‘group‘
- [Solved] RuntimeError: unexpected EOF, expected 73963 more bytes. The file might be corrupted.
- [Solved] Failed to initialize GLFW AttributeError: ‘NoneType’ object has no attribute ‘point_size’
- MAC OS install python3 Error: Permission denied @ dir_s_mkdir-/usr/local/Frameworks
- Djangorestframework-simplejwt: ‘str‘ object has no attribute ‘decode‘ [Solved]
- Python 3.7 Error: AttributeError: ‘str‘ object has no attribute ‘decode‘ [How to Solve]