{
  "id": 416187,
  "title": "Import Error while using pycocotools after installing tar.gz.2.0.6 files. Any help is appreciated.",
  "url": "/competitions/hubmap-hacking-the-human-vasculature/discussion/416187",
  "author_name": "Arun Kumar 1981",
  "post_date": "2023-06-10T04:24:42.791000",
  "votes": 1,
  "comment_count": 0,
  "views": 0,
  "content": "<p><strong>Here is the error message while using pycocotools after installation of tar.gz.2.0.6 files. \nHow to resolve this? did anyone face the same issues? this issues comes up when internet is off. \ninstallation Log is attached</strong></p>\n<p>ImportError: cannot import name '_mask' from 'pycocotools' (/kaggle/working/pycocotools/<strong>init</strong>.py)</p>\n<p>running install<br>\n/opt/conda/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.<br>\n  warnings.warn(<br>\n/opt/conda/lib/python3.10/site-packages/setuptools/command/easy_install.py:156: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.<br>\n  warnings.warn(<br>\nrunning bdist_egg<br>\nrunning egg_info<br>\nwriting pycocotools.egg-info/PKG-INFO<br>\nwriting dependency_links to pycocotools.egg-info/dependency_links.txt<br>\nwriting requirements to pycocotools.egg-info/requires.txt<br>\nwriting top-level names to pycocotools.egg-info/top_level.txt<br>\nreading manifest file 'pycocotools.egg-info/SOURCES.txt'<br>\nreading manifest template 'MANIFEST.in'<br>\nwriting manifest file 'pycocotools.egg-info/SOURCES.txt'<br>\ninstalling library code to build/bdist.linux-x86_64/egg<br>\nrunning install_lib<br>\nrunning build_py<br>\ncopying pycocotools/<strong>init</strong>.py -&gt; build/lib.linux-x86_64-3.10/pycocotools<br>\ncopying pycocotools/mask.py -&gt; build/lib.linux-x86_64-3.10/pycocotools<br>\ncopying pycocotools/cocoeval.py -&gt; build/lib.linux-x86_64-3.10/pycocotools<br>\ncopying pycocotools/coco.py -&gt; build/lib.linux-x86_64-3.10/pycocotools<br>\nrunning build_ext<br>\ncythoning pycocotools/_mask.pyx to pycocotools/_mask.c<br>\n/opt/conda/lib/python3.10/site-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /kaggle/working/pycocotools/_mask.pyx<br>\n  tree = Parsing.p_module(s, pxd, full_module_name)<br>\nbuilding 'pycocotools._mask' extension<br>\ngcc -pthread -B /opt/conda/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /opt/conda/include -fPIC -O2 -isystem /opt/conda/include -fPIC -I/opt/conda/lib/python3.10/site-packages/numpy/core/include -I./common -I/opt/conda/include/python3.10 -c ./common/maskApi.c -o build/temp.linux-x86_64-3.10/./common/maskApi.o -Wno-cpp -Wno-unused-function -std=c99<br>\n./common/maskApi.c: In function ‘rleToBbox’:<br>\n./common/maskApi.c:151:32: warning: unused variable ‘xp’ [\u001b]8;;gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-variable\u0007-Wunused-variable\u001b]8;;\u0007]<br>\n  151 |     uint h, w, xs, ys, xe, ye, xp, cc; siz j, m;<br>\n      |                                ^~<br>\n./common/maskApi.c: In function ‘rleFrPoly’:<br>\n./common/maskApi.c:197:3: warning: this ‘for’ clause does not guard… [\u001b]8;;gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmisleading-indentation\u0007-Wmisleading-indentation\u001b]8;;\u0007]<br>\n  197 |   for(j=0; jxy[j2+0]+.5); x[k]=x[0];\n      |   ^\n./common/maskApi.c:198:54: note: …this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’\n  198 |   for(j=0; jxy[j2+1]+.5); y[k]=y[0];\n      |                                                      ^\n./common/maskApi.c: In function ‘rleToString’:\n./common/maskApi.c:243:7: warning: this ‘if’ clause does not guard… [\u001b]8;;gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmisleading-indentation\u0007-Wmisleading-indentation\u001b]8;;\u0007]\n  243 |       if(more) c |= 0x20; c+=48; s[p++]=c;\n      |       ^~\n./common/maskApi.c:243:27: note: …this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’\n  243 |       if(more) c |= 0x20; c+=48; s[p++]=c;\n      |                           ^\n./common/maskApi.c: In function ‘rleFrString’:\n./common/maskApi.c:251:3: warning: this ‘while’ clause does not guard… [\u001b]8;;gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmisleading-indentation\u0007-Wmisleading-indentation\u001b]8;;\u0007]\n  251 |   while( s[m] ) m++; cnts=malloc(sizeof(uint)<em>m); m=0;\n      |   ^</em>m); m=0;\n      |                      ^~<br>\n./common/maskApi.c:259:5: warning: this ‘if’ clause does not guard… [\u001b]8;;gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmisleading-indentation\u0007-Wmisleading-indentation\u001b]8;;\u0007]<br>\n  259 |     if(m&gt;2) x+=(long) cnts[m-2]; cnts[m++]=(uint) x;<br>\n      |     ^~<br>\n./common/maskApi.c:259:34: note: …this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’<br>\n  259 |     if(m&gt;2) x+=(long) cnts[m-2]; cnts[m++]=(uint) x;<br>\n      |                                  ^~~~<br>\ngcc -pthread -B /opt/conda/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /opt/conda/include -fPIC -O2 -isystem /opt/conda/include -fPIC -I/opt/conda/lib/python3.10/site-packages/numpy/core/include -I./common -I/opt/conda/include/python3.10 -c pycocotools/_mask.c -o build/temp.linux-x86_64-3.10/pycocotools/_mask.o -Wno-cpp -Wno-unused-function -std=c99<br>\npycocotools/_mask.c: In function ‘<strong>pyx_pf_11pycocotools_5_mask_12iou’:\npycocotools/_mask.c:6140:31: warning: comparison of integer expressions of different signedness: ‘Py_ssize_t’ {aka ‘long int’} and ‘siz’ {aka ‘long unsigned int’} [\u001b]8;;gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare\u0007-Wsign-compare\u001b]8;;\u0007]\n 6140 |     if (unlikely(!((__pyx_t_8 == __pyx_v_n) != 0))) {\n      |                               ^~\npycocotools/_mask.c:944:43: note: in definition of macro ‘unlikely’\n  944 |   #define unlikely(x) __builtin_expect(!!(x), 0)\n      |                                           ^\ngcc -pthread -B /opt/conda/compiler_compat -shared -Wl,--allow-shlib-undefined -Wl,-rpath,/opt/conda/lib -Wl,-rpath-link,/opt/conda/lib -L/opt/conda/lib -Wl,--allow-shlib-undefined -Wl,-rpath,/opt/conda/lib -Wl,-rpath-link,/opt/conda/lib -L/opt/conda/lib build/temp.linux-x86_64-3.10/./common/maskApi.o build/temp.linux-x86_64-3.10/pycocotools/_mask.o -o build/lib.linux-x86_64-3.10/pycocotools/_mask.cpython-310-x86_64-linux-gnu.so\ncreating build/bdist.linux-x86_64/egg\ncreating build/bdist.linux-x86_64/egg/pycocotools\ncopying build/lib.linux-x86_64-3.10/pycocotools/_mask.cpython-310-x86_64-linux-gnu.so -&gt; build/bdist.linux-x86_64/egg/pycocotools\ncopying build/lib.linux-x86_64-3.10/pycocotools/__init</strong>.py -&gt; build/bdist.linux-x86_64/egg/pycocotools<br>\ncopying build/lib.linux-x86_64-3.10/pycocotools/mask.py -&gt; build/bdist.linux-x86_64/egg/pycocotools<br>\ncopying build/lib.linux-x86_64-3.10/pycocotools/cocoeval.py -&gt; build/bdist.linux-x86_64/egg/pycocotools<br>\ncopying build/lib.linux-x86_64-3.10/pycocotools/coco.py -&gt; build/bdist.linux-x86_64/egg/pycocotools<br>\nbyte-compiling build/bdist.linux-x86_64/egg/pycocotools/<strong>init</strong>.py to <strong>init</strong>.cpython-310.pyc<br>\nbyte-compiling build/bdist.linux-x86_64/egg/pycocotools/mask.py to mask.cpython-310.pyc<br>\nbyte-compiling build/bdist.linux-x86_64/egg/pycocotools/cocoeval.py to cocoeval.cpython-310.pyc<br>\nbyte-compiling build/bdist.linux-x86_64/egg/pycocotools/coco.py to coco.cpython-310.pyc<br>\ncreating stub loader for pycocotools/_mask.cpython-310-x86_64-linux-gnu.so<br>\nbyte-compiling build/bdist.linux-x86_64/egg/pycocotools/_mask.py to _mask.cpython-310.pyc<br>\ncreating build/bdist.linux-x86_64/egg/EGG-INFO<br>\ncopying pycocotools.egg-info/PKG-INFO -&gt; build/bdist.linux-x86_64/egg/EGG-INFO<br>\ncopying pycocotools.egg-info/SOURCES.txt -&gt; build/bdist.linux-x86_64/egg/EGG-INFO<br>\ncopying pycocotools.egg-info/dependency_links.txt -&gt; build/bdist.linux-x86_64/egg/EGG-INFO<br>\ncopying pycocotools.egg-info/requires.txt -&gt; build/bdist.linux-x86_64/egg/EGG-INFO<br>\ncopying pycocotools.egg-info/top_level.txt -&gt; build/bdist.linux-x86_64/egg/EGG-INFO<br>\nwriting build/bdist.linux-x86_64/egg/EGG-INFO/native_libs.txt<br>\nzip_safe flag not set; analyzing archive contents…<br>\npycocotools.<strong>pycache</strong>._mask.cpython-310: module references <strong>file</strong><br>\ncreating 'dist/pycocotools-2.0.6-py3.10-linux-x86_64.egg' and adding 'build/bdist.linux-x86_64/egg' to it<br>\nremoving 'build/bdist.linux-x86_64/egg' (and everything under it)<br>\nProcessing pycocotools-2.0.6-py3.10-linux-x86_64.egg<br>\nremoving '/opt/conda/lib/python3.10/site-packages/pycocotools-2.0.6-py3.10-linux-x86_64.egg' (and everything under it)<br>\ncreating /opt/conda/lib/python3.10/site-packages/pycocotools-2.0.6-py3.10-linux-x86_64.egg<br>\nExtracting pycocotools-2.0.6-py3.10-linux-x86_64.egg to /opt/conda/lib/python3.10/site-packages<br>\npycocotools 2.0.6 is already the active version in easy-install.pth</p>\n<p>Installed /opt/conda/lib/python3.10/site-packages/pycocotools-2.0.6-py3.10-linux-x86_64.egg<br>\nProcessing dependencies for pycocotools==2.0.6<br>\nSearching for numpy==1.23.5<br>\nBest match: numpy 1.23.5<br>\nAdding numpy 1.23.5 to easy-install.pth file<br>\nInstalling f2py script to /opt/conda/bin<br>\nInstalling f2py3 script to /opt/conda/bin<br>\nInstalling f2py3.10 script to /opt/conda/bin</p>\n<p>Using /opt/conda/lib/python3.10/site-packages<br>\nSearching for matplotlib==3.7.1<br>\nBest match: matplotlib 3.7.1<br>\nAdding matplotlib 3.7.1 to easy-install.pth file</p>\n<p>Using /opt/conda/lib/python3.10/site-packages<br>\nSearching for Pillow==9.5.0<br>\nBest match: Pillow 9.5.0<br>\nAdding Pillow 9.5.0 to easy-install.pth file</p>\n<p>Using /opt/conda/lib/python3.10/site-packages<br>\nSearching for cycler==0.11.0<br>\nBest match: cycler 0.11.0<br>\nAdding cycler 0.11.0 to easy-install.pth file</p>\n<p>Using /opt/conda/lib/python3.10/site-packages<br>\nSearching for fonttools==4.39.4<br>\nBest match: fonttools 4.39.4<br>\nAdding fonttools 4.39.4 to easy-install.pth file<br>\nInstalling fonttools script to /opt/conda/bin<br>\nInstalling pyftmerge script to /opt/conda/bin<br>\nInstalling pyftsubset script to /opt/conda/bin<br>\nInstalling ttx script to /opt/conda/bin</p>\n<p>Using /opt/conda/lib/python3.10/site-packages<br>\nSearching for contourpy==1.0.7<br>\nBest match: contourpy 1.0.7<br>\nAdding contourpy 1.0.7 to easy-install.pth file</p>\n<p>Using /opt/conda/lib/python3.10/site-packages<br>\nSearching for packaging==21.3<br>\nBest match: packaging 21.3<br>\nAdding packaging 21.3 to easy-install.pth file</p>\n<p>Using /opt/conda/lib/python3.10/site-packages<br>\nSearching for python-dateutil==2.8.2<br>\nBest match: python-dateutil 2.8.2<br>\nAdding python-dateutil 2.8.2 to easy-install.pth file</p>\n<p>Using /opt/conda/lib/python3.10/site-packages<br>\nSearching for pyparsing==3.0.9<br>\nBest match: pyparsing 3.0.9<br>\nAdding pyparsing 3.0.9 to easy-install.pth file</p>\n<p>Using /opt/conda/lib/python3.10/site-packages<br>\nSearching for kiwisolver==1.4.4<br>\nBest match: kiwisolver 1.4.4<br>\nAdding kiwisolver 1.4.4 to easy-install.pth file</p>\n<p>Using /opt/conda/lib/python3.10/site-packages<br>\nSearching for six==1.16.0<br>\nBest match: six 1.16.0<br>\nAdding six 1.16.0 to easy-install.pth file</p>\n<p>Using /opt/conda/lib/python3.10/site-packages<br>\nFinished processing dependencies for pycocotools==2.0.6</p>",
  "messages": [
    {
      "id": 2294420,
      "postDate": "2023-06-10T04:24:42.790Z",
      "content": "<p><strong>Here is the error message while using pycocotools after installation of tar.gz.2.0.6 files. \nHow to resolve this? did anyone face the same issues? this issues comes up when internet is off. \ninstallation Log is attached</strong></p>\n<p>ImportError: cannot import name '_mask' from 'pycocotools' (/kaggle/working/pycocotools/<strong>init</strong>.py)</p>\n<p>running install<br>\n/opt/conda/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.<br>\n  warnings.warn(<br>\n/opt/conda/lib/python3.10/site-packages/setuptools/command/easy_install.py:156: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.<br>\n  warnings.warn(<br>\nrunning bdist_egg<br>\nrunning egg_info<br>\nwriting pycocotools.egg-info/PKG-INFO<br>\nwriting dependency_links to pycocotools.egg-info/dependency_links.txt<br>\nwriting requirements to pycocotools.egg-info/requires.txt<br>\nwriting top-level names to pycocotools.egg-info/top_level.txt<br>\nreading manifest file 'pycocotools.egg-info/SOURCES.txt'<br>\nreading manifest template 'MANIFEST.in'<br>\nwriting manifest file 'pycocotools.egg-info/SOURCES.txt'<br>\ninstalling library code to build/bdist.linux-x86_64/egg<br>\nrunning install_lib<br>\nrunning build_py<br>\ncopying pycocotools/<strong>init</strong>.py -&gt; build/lib.linux-x86_64-3.10/pycocotools<br>\ncopying pycocotools/mask.py -&gt; build/lib.linux-x86_64-3.10/pycocotools<br>\ncopying pycocotools/cocoeval.py -&gt; build/lib.linux-x86_64-3.10/pycocotools<br>\ncopying pycocotools/coco.py -&gt; build/lib.linux-x86_64-3.10/pycocotools<br>\nrunning build_ext<br>\ncythoning pycocotools/_mask.pyx to pycocotools/_mask.c<br>\n/opt/conda/lib/python3.10/site-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /kaggle/working/pycocotools/_mask.pyx<br>\n  tree = Parsing.p_module(s, pxd, full_module_name)<br>\nbuilding 'pycocotools._mask' extension<br>\ngcc -pthread -B /opt/conda/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /opt/conda/include -fPIC -O2 -isystem /opt/conda/include -fPIC -I/opt/conda/lib/python3.10/site-packages/numpy/core/include -I./common -I/opt/conda/include/python3.10 -c ./common/maskApi.c -o build/temp.linux-x86_64-3.10/./common/maskApi.o -Wno-cpp -Wno-unused-function -std=c99<br>\n./common/maskApi.c: In function ‘rleToBbox’:<br>\n./common/maskApi.c:151:32: warning: unused variable ‘xp’ [\u001b]8;;gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-variable\u0007-Wunused-variable\u001b]8;;\u0007]<br>\n  151 |     uint h, w, xs, ys, xe, ye, xp, cc; siz j, m;<br>\n      |                                ^~<br>\n./common/maskApi.c: In function ‘rleFrPoly’:<br>\n./common/maskApi.c:197:3: warning: this ‘for’ clause does not guard… [\u001b]8;;gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmisleading-indentation\u0007-Wmisleading-indentation\u001b]8;;\u0007]<br>\n  197 |   for(j=0; jxy[j2+0]+.5); x[k]=x[0];\n      |   ^\n./common/maskApi.c:198:54: note: …this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’\n  198 |   for(j=0; jxy[j2+1]+.5); y[k]=y[0];\n      |                                                      ^\n./common/maskApi.c: In function ‘rleToString’:\n./common/maskApi.c:243:7: warning: this ‘if’ clause does not guard… [\u001b]8;;gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmisleading-indentation\u0007-Wmisleading-indentation\u001b]8;;\u0007]\n  243 |       if(more) c |= 0x20; c+=48; s[p++]=c;\n      |       ^~\n./common/maskApi.c:243:27: note: …this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’\n  243 |       if(more) c |= 0x20; c+=48; s[p++]=c;\n      |                           ^\n./common/maskApi.c: In function ‘rleFrString’:\n./common/maskApi.c:251:3: warning: this ‘while’ clause does not guard… [\u001b]8;;gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmisleading-indentation\u0007-Wmisleading-indentation\u001b]8;;\u0007]\n  251 |   while( s[m] ) m++; cnts=malloc(sizeof(uint)<em>m); m=0;\n      |   ^</em>m); m=0;\n      |                      ^~<br>\n./common/maskApi.c:259:5: warning: this ‘if’ clause does not guard… [\u001b]8;;gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmisleading-indentation\u0007-Wmisleading-indentation\u001b]8;;\u0007]<br>\n  259 |     if(m&gt;2) x+=(long) cnts[m-2]; cnts[m++]=(uint) x;<br>\n      |     ^~<br>\n./common/maskApi.c:259:34: note: …this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’<br>\n  259 |     if(m&gt;2) x+=(long) cnts[m-2]; cnts[m++]=(uint) x;<br>\n      |                                  ^~~~<br>\ngcc -pthread -B /opt/conda/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /opt/conda/include -fPIC -O2 -isystem /opt/conda/include -fPIC -I/opt/conda/lib/python3.10/site-packages/numpy/core/include -I./common -I/opt/conda/include/python3.10 -c pycocotools/_mask.c -o build/temp.linux-x86_64-3.10/pycocotools/_mask.o -Wno-cpp -Wno-unused-function -std=c99<br>\npycocotools/_mask.c: In function ‘<strong>pyx_pf_11pycocotools_5_mask_12iou’:\npycocotools/_mask.c:6140:31: warning: comparison of integer expressions of different signedness: ‘Py_ssize_t’ {aka ‘long int’} and ‘siz’ {aka ‘long unsigned int’} [\u001b]8;;gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare\u0007-Wsign-compare\u001b]8;;\u0007]\n 6140 |     if (unlikely(!((__pyx_t_8 == __pyx_v_n) != 0))) {\n      |                               ^~\npycocotools/_mask.c:944:43: note: in definition of macro ‘unlikely’\n  944 |   #define unlikely(x) __builtin_expect(!!(x), 0)\n      |                                           ^\ngcc -pthread -B /opt/conda/compiler_compat -shared -Wl,--allow-shlib-undefined -Wl,-rpath,/opt/conda/lib -Wl,-rpath-link,/opt/conda/lib -L/opt/conda/lib -Wl,--allow-shlib-undefined -Wl,-rpath,/opt/conda/lib -Wl,-rpath-link,/opt/conda/lib -L/opt/conda/lib build/temp.linux-x86_64-3.10/./common/maskApi.o build/temp.linux-x86_64-3.10/pycocotools/_mask.o -o build/lib.linux-x86_64-3.10/pycocotools/_mask.cpython-310-x86_64-linux-gnu.so\ncreating build/bdist.linux-x86_64/egg\ncreating build/bdist.linux-x86_64/egg/pycocotools\ncopying build/lib.linux-x86_64-3.10/pycocotools/_mask.cpython-310-x86_64-linux-gnu.so -&gt; build/bdist.linux-x86_64/egg/pycocotools\ncopying build/lib.linux-x86_64-3.10/pycocotools/__init</strong>.py -&gt; build/bdist.linux-x86_64/egg/pycocotools<br>\ncopying build/lib.linux-x86_64-3.10/pycocotools/mask.py -&gt; build/bdist.linux-x86_64/egg/pycocotools<br>\ncopying build/lib.linux-x86_64-3.10/pycocotools/cocoeval.py -&gt; build/bdist.linux-x86_64/egg/pycocotools<br>\ncopying build/lib.linux-x86_64-3.10/pycocotools/coco.py -&gt; build/bdist.linux-x86_64/egg/pycocotools<br>\nbyte-compiling build/bdist.linux-x86_64/egg/pycocotools/<strong>init</strong>.py to <strong>init</strong>.cpython-310.pyc<br>\nbyte-compiling build/bdist.linux-x86_64/egg/pycocotools/mask.py to mask.cpython-310.pyc<br>\nbyte-compiling build/bdist.linux-x86_64/egg/pycocotools/cocoeval.py to cocoeval.cpython-310.pyc<br>\nbyte-compiling build/bdist.linux-x86_64/egg/pycocotools/coco.py to coco.cpython-310.pyc<br>\ncreating stub loader for pycocotools/_mask.cpython-310-x86_64-linux-gnu.so<br>\nbyte-compiling build/bdist.linux-x86_64/egg/pycocotools/_mask.py to _mask.cpython-310.pyc<br>\ncreating build/bdist.linux-x86_64/egg/EGG-INFO<br>\ncopying pycocotools.egg-info/PKG-INFO -&gt; build/bdist.linux-x86_64/egg/EGG-INFO<br>\ncopying pycocotools.egg-info/SOURCES.txt -&gt; build/bdist.linux-x86_64/egg/EGG-INFO<br>\ncopying pycocotools.egg-info/dependency_links.txt -&gt; build/bdist.linux-x86_64/egg/EGG-INFO<br>\ncopying pycocotools.egg-info/requires.txt -&gt; build/bdist.linux-x86_64/egg/EGG-INFO<br>\ncopying pycocotools.egg-info/top_level.txt -&gt; build/bdist.linux-x86_64/egg/EGG-INFO<br>\nwriting build/bdist.linux-x86_64/egg/EGG-INFO/native_libs.txt<br>\nzip_safe flag not set; analyzing archive contents…<br>\npycocotools.<strong>pycache</strong>._mask.cpython-310: module references <strong>file</strong><br>\ncreating 'dist/pycocotools-2.0.6-py3.10-linux-x86_64.egg' and adding 'build/bdist.linux-x86_64/egg' to it<br>\nremoving 'build/bdist.linux-x86_64/egg' (and everything under it)<br>\nProcessing pycocotools-2.0.6-py3.10-linux-x86_64.egg<br>\nremoving '/opt/conda/lib/python3.10/site-packages/pycocotools-2.0.6-py3.10-linux-x86_64.egg' (and everything under it)<br>\ncreating /opt/conda/lib/python3.10/site-packages/pycocotools-2.0.6-py3.10-linux-x86_64.egg<br>\nExtracting pycocotools-2.0.6-py3.10-linux-x86_64.egg to /opt/conda/lib/python3.10/site-packages<br>\npycocotools 2.0.6 is already the active version in easy-install.pth</p>\n<p>Installed /opt/conda/lib/python3.10/site-packages/pycocotools-2.0.6-py3.10-linux-x86_64.egg<br>\nProcessing dependencies for pycocotools==2.0.6<br>\nSearching for numpy==1.23.5<br>\nBest match: numpy 1.23.5<br>\nAdding numpy 1.23.5 to easy-install.pth file<br>\nInstalling f2py script to /opt/conda/bin<br>\nInstalling f2py3 script to /opt/conda/bin<br>\nInstalling f2py3.10 script to /opt/conda/bin</p>\n<p>Using /opt/conda/lib/python3.10/site-packages<br>\nSearching for matplotlib==3.7.1<br>\nBest match: matplotlib 3.7.1<br>\nAdding matplotlib 3.7.1 to easy-install.pth file</p>\n<p>Using /opt/conda/lib/python3.10/site-packages<br>\nSearching for Pillow==9.5.0<br>\nBest match: Pillow 9.5.0<br>\nAdding Pillow 9.5.0 to easy-install.pth file</p>\n<p>Using /opt/conda/lib/python3.10/site-packages<br>\nSearching for cycler==0.11.0<br>\nBest match: cycler 0.11.0<br>\nAdding cycler 0.11.0 to easy-install.pth file</p>\n<p>Using /opt/conda/lib/python3.10/site-packages<br>\nSearching for fonttools==4.39.4<br>\nBest match: fonttools 4.39.4<br>\nAdding fonttools 4.39.4 to easy-install.pth file<br>\nInstalling fonttools script to /opt/conda/bin<br>\nInstalling pyftmerge script to /opt/conda/bin<br>\nInstalling pyftsubset script to /opt/conda/bin<br>\nInstalling ttx script to /opt/conda/bin</p>\n<p>Using /opt/conda/lib/python3.10/site-packages<br>\nSearching for contourpy==1.0.7<br>\nBest match: contourpy 1.0.7<br>\nAdding contourpy 1.0.7 to easy-install.pth file</p>\n<p>Using /opt/conda/lib/python3.10/site-packages<br>\nSearching for packaging==21.3<br>\nBest match: packaging 21.3<br>\nAdding packaging 21.3 to easy-install.pth file</p>\n<p>Using /opt/conda/lib/python3.10/site-packages<br>\nSearching for python-dateutil==2.8.2<br>\nBest match: python-dateutil 2.8.2<br>\nAdding python-dateutil 2.8.2 to easy-install.pth file</p>\n<p>Using /opt/conda/lib/python3.10/site-packages<br>\nSearching for pyparsing==3.0.9<br>\nBest match: pyparsing 3.0.9<br>\nAdding pyparsing 3.0.9 to easy-install.pth file</p>\n<p>Using /opt/conda/lib/python3.10/site-packages<br>\nSearching for kiwisolver==1.4.4<br>\nBest match: kiwisolver 1.4.4<br>\nAdding kiwisolver 1.4.4 to easy-install.pth file</p>\n<p>Using /opt/conda/lib/python3.10/site-packages<br>\nSearching for six==1.16.0<br>\nBest match: six 1.16.0<br>\nAdding six 1.16.0 to easy-install.pth file</p>\n<p>Using /opt/conda/lib/python3.10/site-packages<br>\nFinished processing dependencies for pycocotools==2.0.6</p>",
      "rawMarkdown": "**Here is the error message while using pycocotools after installation of tar.gz.2.0.6 files. \nHow to resolve this? did anyone face the same issues? this issues comes up when internet is off. \ninstallation Log is attached**\n\nImportError: cannot import name '_mask' from 'pycocotools' (/kaggle/working/pycocotools/__init__.py)\n\nrunning install\n/opt/conda/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.\n  warnings.warn(\n/opt/conda/lib/python3.10/site-packages/setuptools/command/easy_install.py:156: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.\n  warnings.warn(\nrunning bdist_egg\nrunning egg_info\nwriting pycocotools.egg-info/PKG-INFO\nwriting dependency_links to pycocotools.egg-info/dependency_links.txt\nwriting requirements to pycocotools.egg-info/requires.txt\nwriting top-level names to pycocotools.egg-info/top_level.txt\nreading manifest file 'pycocotools.egg-info/SOURCES.txt'\nreading manifest template 'MANIFEST.in'\nwriting manifest file 'pycocotools.egg-info/SOURCES.txt'\ninstalling library code to build/bdist.linux-x86_64/egg\nrunning install_lib\nrunning build_py\ncopying pycocotools/__init__.py -> build/lib.linux-x86_64-3.10/pycocotools\ncopying pycocotools/mask.py -> build/lib.linux-x86_64-3.10/pycocotools\ncopying pycocotools/cocoeval.py -> build/lib.linux-x86_64-3.10/pycocotools\ncopying pycocotools/coco.py -> build/lib.linux-x86_64-3.10/pycocotools\nrunning build_ext\ncythoning pycocotools/_mask.pyx to pycocotools/_mask.c\n/opt/conda/lib/python3.10/site-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /kaggle/working/pycocotools/_mask.pyx\n  tree = Parsing.p_module(s, pxd, full_module_name)\nbuilding 'pycocotools._mask' extension\ngcc -pthread -B /opt/conda/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /opt/conda/include -fPIC -O2 -isystem /opt/conda/include -fPIC -I/opt/conda/lib/python3.10/site-packages/numpy/core/include -I./common -I/opt/conda/include/python3.10 -c ./common/maskApi.c -o build/temp.linux-x86_64-3.10/./common/maskApi.o -Wno-cpp -Wno-unused-function -std=c99\n./common/maskApi.c: In function ‘rleToBbox’:\n./common/maskApi.c:151:32: warning: unused variable ‘xp’ [\u001b]8;;gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-variable\u0007-Wunused-variable\u001b]8;;\u0007]\n  151 |     uint h, w, xs, ys, xe, ye, xp, cc; siz j, m;\n      |                                ^~\n./common/maskApi.c: In function ‘rleFrPoly’:\n./common/maskApi.c:197:3: warning: this ‘for’ clause does not guard... [\u001b]8;;gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmisleading-indentation\u0007-Wmisleading-indentation\u001b]8;;\u0007]\n  197 |   for(j=0; j<k; j++) x[j]=(int)(scale*xy[j*2+0]+.5); x[k]=x[0];\n      |   ^~~\n./common/maskApi.c:197:54: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’\n  197 |   for(j=0; j<k; j++) x[j]=(int)(scale*xy[j*2+0]+.5); x[k]=x[0];\n      |                                                      ^\n./common/maskApi.c:198:3: warning: this ‘for’ clause does not guard... [\u001b]8;;gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmisleading-indentation\u0007-Wmisleading-indentation\u001b]8;;\u0007]\n  198 |   for(j=0; j<k; j++) y[j]=(int)(scale*xy[j*2+1]+.5); y[k]=y[0];\n      |   ^~~\n./common/maskApi.c:198:54: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’\n  198 |   for(j=0; j<k; j++) y[j]=(int)(scale*xy[j*2+1]+.5); y[k]=y[0];\n      |                                                      ^\n./common/maskApi.c: In function ‘rleToString’:\n./common/maskApi.c:243:7: warning: this ‘if’ clause does not guard... [\u001b]8;;gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmisleading-indentation\u0007-Wmisleading-indentation\u001b]8;;\u0007]\n  243 |       if(more) c |= 0x20; c+=48; s[p++]=c;\n      |       ^~\n./common/maskApi.c:243:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’\n  243 |       if(more) c |= 0x20; c+=48; s[p++]=c;\n      |                           ^\n./common/maskApi.c: In function ‘rleFrString’:\n./common/maskApi.c:251:3: warning: this ‘while’ clause does not guard... [\u001b]8;;gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmisleading-indentation\u0007-Wmisleading-indentation\u001b]8;;\u0007]\n  251 |   while( s[m] ) m++; cnts=malloc(sizeof(uint)*m); m=0;\n      |   ^~~~~\n./common/maskApi.c:251:22: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘while’\n  251 |   while( s[m] ) m++; cnts=malloc(sizeof(uint)*m); m=0;\n      |                      ^~~~\n./common/maskApi.c:259:5: warning: this ‘if’ clause does not guard... [\u001b]8;;gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmisleading-indentation\u0007-Wmisleading-indentation\u001b]8;;\u0007]\n  259 |     if(m>2) x+=(long) cnts[m-2]; cnts[m++]=(uint) x;\n      |     ^~\n./common/maskApi.c:259:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’\n  259 |     if(m>2) x+=(long) cnts[m-2]; cnts[m++]=(uint) x;\n      |                                  ^~~~\ngcc -pthread -B /opt/conda/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /opt/conda/include -fPIC -O2 -isystem /opt/conda/include -fPIC -I/opt/conda/lib/python3.10/site-packages/numpy/core/include -I./common -I/opt/conda/include/python3.10 -c pycocotools/_mask.c -o build/temp.linux-x86_64-3.10/pycocotools/_mask.o -Wno-cpp -Wno-unused-function -std=c99\npycocotools/_mask.c: In function ‘__pyx_pf_11pycocotools_5_mask_12iou’:\npycocotools/_mask.c:6140:31: warning: comparison of integer expressions of different signedness: ‘Py_ssize_t’ {aka ‘long int’} and ‘siz’ {aka ‘long unsigned int’} [\u001b]8;;gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare\u0007-Wsign-compare\u001b]8;;\u0007]\n 6140 |     if (unlikely(!((__pyx_t_8 == __pyx_v_n) != 0))) {\n      |                               ^~\npycocotools/_mask.c:944:43: note: in definition of macro ‘unlikely’\n  944 |   #define unlikely(x) __builtin_expect(!!(x), 0)\n      |                                           ^\ngcc -pthread -B /opt/conda/compiler_compat -shared -Wl,--allow-shlib-undefined -Wl,-rpath,/opt/conda/lib -Wl,-rpath-link,/opt/conda/lib -L/opt/conda/lib -Wl,--allow-shlib-undefined -Wl,-rpath,/opt/conda/lib -Wl,-rpath-link,/opt/conda/lib -L/opt/conda/lib build/temp.linux-x86_64-3.10/./common/maskApi.o build/temp.linux-x86_64-3.10/pycocotools/_mask.o -o build/lib.linux-x86_64-3.10/pycocotools/_mask.cpython-310-x86_64-linux-gnu.so\ncreating build/bdist.linux-x86_64/egg\ncreating build/bdist.linux-x86_64/egg/pycocotools\ncopying build/lib.linux-x86_64-3.10/pycocotools/_mask.cpython-310-x86_64-linux-gnu.so -> build/bdist.linux-x86_64/egg/pycocotools\ncopying build/lib.linux-x86_64-3.10/pycocotools/__init__.py -> build/bdist.linux-x86_64/egg/pycocotools\ncopying build/lib.linux-x86_64-3.10/pycocotools/mask.py -> build/bdist.linux-x86_64/egg/pycocotools\ncopying build/lib.linux-x86_64-3.10/pycocotools/cocoeval.py -> build/bdist.linux-x86_64/egg/pycocotools\ncopying build/lib.linux-x86_64-3.10/pycocotools/coco.py -> build/bdist.linux-x86_64/egg/pycocotools\nbyte-compiling build/bdist.linux-x86_64/egg/pycocotools/__init__.py to __init__.cpython-310.pyc\nbyte-compiling build/bdist.linux-x86_64/egg/pycocotools/mask.py to mask.cpython-310.pyc\nbyte-compiling build/bdist.linux-x86_64/egg/pycocotools/cocoeval.py to cocoeval.cpython-310.pyc\nbyte-compiling build/bdist.linux-x86_64/egg/pycocotools/coco.py to coco.cpython-310.pyc\ncreating stub loader for pycocotools/_mask.cpython-310-x86_64-linux-gnu.so\nbyte-compiling build/bdist.linux-x86_64/egg/pycocotools/_mask.py to _mask.cpython-310.pyc\ncreating build/bdist.linux-x86_64/egg/EGG-INFO\ncopying pycocotools.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO\ncopying pycocotools.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO\ncopying pycocotools.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO\ncopying pycocotools.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO\ncopying pycocotools.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO\nwriting build/bdist.linux-x86_64/egg/EGG-INFO/native_libs.txt\nzip_safe flag not set; analyzing archive contents...\npycocotools.__pycache__._mask.cpython-310: module references __file__\ncreating 'dist/pycocotools-2.0.6-py3.10-linux-x86_64.egg' and adding 'build/bdist.linux-x86_64/egg' to it\nremoving 'build/bdist.linux-x86_64/egg' (and everything under it)\nProcessing pycocotools-2.0.6-py3.10-linux-x86_64.egg\nremoving '/opt/conda/lib/python3.10/site-packages/pycocotools-2.0.6-py3.10-linux-x86_64.egg' (and everything under it)\ncreating /opt/conda/lib/python3.10/site-packages/pycocotools-2.0.6-py3.10-linux-x86_64.egg\nExtracting pycocotools-2.0.6-py3.10-linux-x86_64.egg to /opt/conda/lib/python3.10/site-packages\npycocotools 2.0.6 is already the active version in easy-install.pth\n\nInstalled /opt/conda/lib/python3.10/site-packages/pycocotools-2.0.6-py3.10-linux-x86_64.egg\nProcessing dependencies for pycocotools==2.0.6\nSearching for numpy==1.23.5\nBest match: numpy 1.23.5\nAdding numpy 1.23.5 to easy-install.pth file\nInstalling f2py script to /opt/conda/bin\nInstalling f2py3 script to /opt/conda/bin\nInstalling f2py3.10 script to /opt/conda/bin\n\nUsing /opt/conda/lib/python3.10/site-packages\nSearching for matplotlib==3.7.1\nBest match: matplotlib 3.7.1\nAdding matplotlib 3.7.1 to easy-install.pth file\n\nUsing /opt/conda/lib/python3.10/site-packages\nSearching for Pillow==9.5.0\nBest match: Pillow 9.5.0\nAdding Pillow 9.5.0 to easy-install.pth file\n\nUsing /opt/conda/lib/python3.10/site-packages\nSearching for cycler==0.11.0\nBest match: cycler 0.11.0\nAdding cycler 0.11.0 to easy-install.pth file\n\nUsing /opt/conda/lib/python3.10/site-packages\nSearching for fonttools==4.39.4\nBest match: fonttools 4.39.4\nAdding fonttools 4.39.4 to easy-install.pth file\nInstalling fonttools script to /opt/conda/bin\nInstalling pyftmerge script to /opt/conda/bin\nInstalling pyftsubset script to /opt/conda/bin\nInstalling ttx script to /opt/conda/bin\n\nUsing /opt/conda/lib/python3.10/site-packages\nSearching for contourpy==1.0.7\nBest match: contourpy 1.0.7\nAdding contourpy 1.0.7 to easy-install.pth file\n\nUsing /opt/conda/lib/python3.10/site-packages\nSearching for packaging==21.3\nBest match: packaging 21.3\nAdding packaging 21.3 to easy-install.pth file\n\nUsing /opt/conda/lib/python3.10/site-packages\nSearching for python-dateutil==2.8.2\nBest match: python-dateutil 2.8.2\nAdding python-dateutil 2.8.2 to easy-install.pth file\n\nUsing /opt/conda/lib/python3.10/site-packages\nSearching for pyparsing==3.0.9\nBest match: pyparsing 3.0.9\nAdding pyparsing 3.0.9 to easy-install.pth file\n\nUsing /opt/conda/lib/python3.10/site-packages\nSearching for kiwisolver==1.4.4\nBest match: kiwisolver 1.4.4\nAdding kiwisolver 1.4.4 to easy-install.pth file\n\nUsing /opt/conda/lib/python3.10/site-packages\nSearching for six==1.16.0\nBest match: six 1.16.0\nAdding six 1.16.0 to easy-install.pth file\n\nUsing /opt/conda/lib/python3.10/site-packages\nFinished processing dependencies for pycocotools==2.0.6",
      "votes": 1
    }
  ],
  "comments": [],
  "raw_markdown_by_id": {
    "2294420": "**Here is the error message while using pycocotools after installation of tar.gz.2.0.6 files. \nHow to resolve this? did anyone face the same issues? this issues comes up when internet is off. \ninstallation Log is attached**\n\nImportError: cannot import name '_mask' from 'pycocotools' (/kaggle/working/pycocotools/__init__.py)\n\nrunning install\n/opt/conda/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.\n  warnings.warn(\n/opt/conda/lib/python3.10/site-packages/setuptools/command/easy_install.py:156: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.\n  warnings.warn(\nrunning bdist_egg\nrunning egg_info\nwriting pycocotools.egg-info/PKG-INFO\nwriting dependency_links to pycocotools.egg-info/dependency_links.txt\nwriting requirements to pycocotools.egg-info/requires.txt\nwriting top-level names to pycocotools.egg-info/top_level.txt\nreading manifest file 'pycocotools.egg-info/SOURCES.txt'\nreading manifest template 'MANIFEST.in'\nwriting manifest file 'pycocotools.egg-info/SOURCES.txt'\ninstalling library code to build/bdist.linux-x86_64/egg\nrunning install_lib\nrunning build_py\ncopying pycocotools/__init__.py -> build/lib.linux-x86_64-3.10/pycocotools\ncopying pycocotools/mask.py -> build/lib.linux-x86_64-3.10/pycocotools\ncopying pycocotools/cocoeval.py -> build/lib.linux-x86_64-3.10/pycocotools\ncopying pycocotools/coco.py -> build/lib.linux-x86_64-3.10/pycocotools\nrunning build_ext\ncythoning pycocotools/_mask.pyx to pycocotools/_mask.c\n/opt/conda/lib/python3.10/site-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /kaggle/working/pycocotools/_mask.pyx\n  tree = Parsing.p_module(s, pxd, full_module_name)\nbuilding 'pycocotools._mask' extension\ngcc -pthread -B /opt/conda/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /opt/conda/include -fPIC -O2 -isystem /opt/conda/include -fPIC -I/opt/conda/lib/python3.10/site-packages/numpy/core/include -I./common -I/opt/conda/include/python3.10 -c ./common/maskApi.c -o build/temp.linux-x86_64-3.10/./common/maskApi.o -Wno-cpp -Wno-unused-function -std=c99\n./common/maskApi.c: In function ‘rleToBbox’:\n./common/maskApi.c:151:32: warning: unused variable ‘xp’ [\u001b]8;;gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-variable\u0007-Wunused-variable\u001b]8;;\u0007]\n  151 |     uint h, w, xs, ys, xe, ye, xp, cc; siz j, m;\n      |                                ^~\n./common/maskApi.c: In function ‘rleFrPoly’:\n./common/maskApi.c:197:3: warning: this ‘for’ clause does not guard... [\u001b]8;;gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmisleading-indentation\u0007-Wmisleading-indentation\u001b]8;;\u0007]\n  197 |   for(j=0; j<k; j++) x[j]=(int)(scale*xy[j*2+0]+.5); x[k]=x[0];\n      |   ^~~\n./common/maskApi.c:197:54: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’\n  197 |   for(j=0; j<k; j++) x[j]=(int)(scale*xy[j*2+0]+.5); x[k]=x[0];\n      |                                                      ^\n./common/maskApi.c:198:3: warning: this ‘for’ clause does not guard... [\u001b]8;;gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmisleading-indentation\u0007-Wmisleading-indentation\u001b]8;;\u0007]\n  198 |   for(j=0; j<k; j++) y[j]=(int)(scale*xy[j*2+1]+.5); y[k]=y[0];\n      |   ^~~\n./common/maskApi.c:198:54: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’\n  198 |   for(j=0; j<k; j++) y[j]=(int)(scale*xy[j*2+1]+.5); y[k]=y[0];\n      |                                                      ^\n./common/maskApi.c: In function ‘rleToString’:\n./common/maskApi.c:243:7: warning: this ‘if’ clause does not guard... [\u001b]8;;gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmisleading-indentation\u0007-Wmisleading-indentation\u001b]8;;\u0007]\n  243 |       if(more) c |= 0x20; c+=48; s[p++]=c;\n      |       ^~\n./common/maskApi.c:243:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’\n  243 |       if(more) c |= 0x20; c+=48; s[p++]=c;\n      |                           ^\n./common/maskApi.c: In function ‘rleFrString’:\n./common/maskApi.c:251:3: warning: this ‘while’ clause does not guard... [\u001b]8;;gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmisleading-indentation\u0007-Wmisleading-indentation\u001b]8;;\u0007]\n  251 |   while( s[m] ) m++; cnts=malloc(sizeof(uint)*m); m=0;\n      |   ^~~~~\n./common/maskApi.c:251:22: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘while’\n  251 |   while( s[m] ) m++; cnts=malloc(sizeof(uint)*m); m=0;\n      |                      ^~~~\n./common/maskApi.c:259:5: warning: this ‘if’ clause does not guard... [\u001b]8;;gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmisleading-indentation\u0007-Wmisleading-indentation\u001b]8;;\u0007]\n  259 |     if(m>2) x+=(long) cnts[m-2]; cnts[m++]=(uint) x;\n      |     ^~\n./common/maskApi.c:259:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’\n  259 |     if(m>2) x+=(long) cnts[m-2]; cnts[m++]=(uint) x;\n      |                                  ^~~~\ngcc -pthread -B /opt/conda/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /opt/conda/include -fPIC -O2 -isystem /opt/conda/include -fPIC -I/opt/conda/lib/python3.10/site-packages/numpy/core/include -I./common -I/opt/conda/include/python3.10 -c pycocotools/_mask.c -o build/temp.linux-x86_64-3.10/pycocotools/_mask.o -Wno-cpp -Wno-unused-function -std=c99\npycocotools/_mask.c: In function ‘__pyx_pf_11pycocotools_5_mask_12iou’:\npycocotools/_mask.c:6140:31: warning: comparison of integer expressions of different signedness: ‘Py_ssize_t’ {aka ‘long int’} and ‘siz’ {aka ‘long unsigned int’} [\u001b]8;;gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-compare\u0007-Wsign-compare\u001b]8;;\u0007]\n 6140 |     if (unlikely(!((__pyx_t_8 == __pyx_v_n) != 0))) {\n      |                               ^~\npycocotools/_mask.c:944:43: note: in definition of macro ‘unlikely’\n  944 |   #define unlikely(x) __builtin_expect(!!(x), 0)\n      |                                           ^\ngcc -pthread -B /opt/conda/compiler_compat -shared -Wl,--allow-shlib-undefined -Wl,-rpath,/opt/conda/lib -Wl,-rpath-link,/opt/conda/lib -L/opt/conda/lib -Wl,--allow-shlib-undefined -Wl,-rpath,/opt/conda/lib -Wl,-rpath-link,/opt/conda/lib -L/opt/conda/lib build/temp.linux-x86_64-3.10/./common/maskApi.o build/temp.linux-x86_64-3.10/pycocotools/_mask.o -o build/lib.linux-x86_64-3.10/pycocotools/_mask.cpython-310-x86_64-linux-gnu.so\ncreating build/bdist.linux-x86_64/egg\ncreating build/bdist.linux-x86_64/egg/pycocotools\ncopying build/lib.linux-x86_64-3.10/pycocotools/_mask.cpython-310-x86_64-linux-gnu.so -> build/bdist.linux-x86_64/egg/pycocotools\ncopying build/lib.linux-x86_64-3.10/pycocotools/__init__.py -> build/bdist.linux-x86_64/egg/pycocotools\ncopying build/lib.linux-x86_64-3.10/pycocotools/mask.py -> build/bdist.linux-x86_64/egg/pycocotools\ncopying build/lib.linux-x86_64-3.10/pycocotools/cocoeval.py -> build/bdist.linux-x86_64/egg/pycocotools\ncopying build/lib.linux-x86_64-3.10/pycocotools/coco.py -> build/bdist.linux-x86_64/egg/pycocotools\nbyte-compiling build/bdist.linux-x86_64/egg/pycocotools/__init__.py to __init__.cpython-310.pyc\nbyte-compiling build/bdist.linux-x86_64/egg/pycocotools/mask.py to mask.cpython-310.pyc\nbyte-compiling build/bdist.linux-x86_64/egg/pycocotools/cocoeval.py to cocoeval.cpython-310.pyc\nbyte-compiling build/bdist.linux-x86_64/egg/pycocotools/coco.py to coco.cpython-310.pyc\ncreating stub loader for pycocotools/_mask.cpython-310-x86_64-linux-gnu.so\nbyte-compiling build/bdist.linux-x86_64/egg/pycocotools/_mask.py to _mask.cpython-310.pyc\ncreating build/bdist.linux-x86_64/egg/EGG-INFO\ncopying pycocotools.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO\ncopying pycocotools.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO\ncopying pycocotools.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO\ncopying pycocotools.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO\ncopying pycocotools.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO\nwriting build/bdist.linux-x86_64/egg/EGG-INFO/native_libs.txt\nzip_safe flag not set; analyzing archive contents...\npycocotools.__pycache__._mask.cpython-310: module references __file__\ncreating 'dist/pycocotools-2.0.6-py3.10-linux-x86_64.egg' and adding 'build/bdist.linux-x86_64/egg' to it\nremoving 'build/bdist.linux-x86_64/egg' (and everything under it)\nProcessing pycocotools-2.0.6-py3.10-linux-x86_64.egg\nremoving '/opt/conda/lib/python3.10/site-packages/pycocotools-2.0.6-py3.10-linux-x86_64.egg' (and everything under it)\ncreating /opt/conda/lib/python3.10/site-packages/pycocotools-2.0.6-py3.10-linux-x86_64.egg\nExtracting pycocotools-2.0.6-py3.10-linux-x86_64.egg to /opt/conda/lib/python3.10/site-packages\npycocotools 2.0.6 is already the active version in easy-install.pth\n\nInstalled /opt/conda/lib/python3.10/site-packages/pycocotools-2.0.6-py3.10-linux-x86_64.egg\nProcessing dependencies for pycocotools==2.0.6\nSearching for numpy==1.23.5\nBest match: numpy 1.23.5\nAdding numpy 1.23.5 to easy-install.pth file\nInstalling f2py script to /opt/conda/bin\nInstalling f2py3 script to /opt/conda/bin\nInstalling f2py3.10 script to /opt/conda/bin\n\nUsing /opt/conda/lib/python3.10/site-packages\nSearching for matplotlib==3.7.1\nBest match: matplotlib 3.7.1\nAdding matplotlib 3.7.1 to easy-install.pth file\n\nUsing /opt/conda/lib/python3.10/site-packages\nSearching for Pillow==9.5.0\nBest match: Pillow 9.5.0\nAdding Pillow 9.5.0 to easy-install.pth file\n\nUsing /opt/conda/lib/python3.10/site-packages\nSearching for cycler==0.11.0\nBest match: cycler 0.11.0\nAdding cycler 0.11.0 to easy-install.pth file\n\nUsing /opt/conda/lib/python3.10/site-packages\nSearching for fonttools==4.39.4\nBest match: fonttools 4.39.4\nAdding fonttools 4.39.4 to easy-install.pth file\nInstalling fonttools script to /opt/conda/bin\nInstalling pyftmerge script to /opt/conda/bin\nInstalling pyftsubset script to /opt/conda/bin\nInstalling ttx script to /opt/conda/bin\n\nUsing /opt/conda/lib/python3.10/site-packages\nSearching for contourpy==1.0.7\nBest match: contourpy 1.0.7\nAdding contourpy 1.0.7 to easy-install.pth file\n\nUsing /opt/conda/lib/python3.10/site-packages\nSearching for packaging==21.3\nBest match: packaging 21.3\nAdding packaging 21.3 to easy-install.pth file\n\nUsing /opt/conda/lib/python3.10/site-packages\nSearching for python-dateutil==2.8.2\nBest match: python-dateutil 2.8.2\nAdding python-dateutil 2.8.2 to easy-install.pth file\n\nUsing /opt/conda/lib/python3.10/site-packages\nSearching for pyparsing==3.0.9\nBest match: pyparsing 3.0.9\nAdding pyparsing 3.0.9 to easy-install.pth file\n\nUsing /opt/conda/lib/python3.10/site-packages\nSearching for kiwisolver==1.4.4\nBest match: kiwisolver 1.4.4\nAdding kiwisolver 1.4.4 to easy-install.pth file\n\nUsing /opt/conda/lib/python3.10/site-packages\nSearching for six==1.16.0\nBest match: six 1.16.0\nAdding six 1.16.0 to easy-install.pth file\n\nUsing /opt/conda/lib/python3.10/site-packages\nFinished processing dependencies for pycocotools==2.0.6"
  }
}