You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! I am trying to install the library on a conda environment inside Windows 11. But I get the following error:
Building wheels for collected packages: rlemasklib
Building wheel for rlemasklib (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for rlemasklib (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [12 lines of output]
running bdist_wheel
running build
running build_py
copying rlemasklib\rlemasklib.py -> build\lib.win-amd64-cpython-39\rlemasklib
copying rlemasklib\__init__.py -> build\lib.win-amd64-cpython-39\rlemasklib
running build_ext
Compiling rlemasklib/rlemasklib_cython.pyx because it depends on C:\Users\~~~\AppData\Local\Temp\pip-build-env-u_hx9wrh\overlay\Lib\site-packages\Cython\Includes\libc\string.pxd.
[1/1] Cythonizing rlemasklib/rlemasklib_cython.pyx
building 'rlemasklib.rlemasklib_cython' extension
"C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -IC:\Users\~~~\AppData\Local\Temp\pip-build-env-u_hx9wrh\overlay\Lib\site-packages\numpy\core\include -Irlemasklib -IC:\Users\~~~\anaconda3\envs\locai\include -IC:\Users\~~~\anaconda3\envs\locai\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\cppwinrt" /Tcrlemasklib/rlemasklib.c /Fobuild\temp.win-amd64-cpython-39\Release\rlemasklib/rlemasklib.obj -Wno-cpp -Wno-unused-function -std=c99
cl : Command line error D8021 : invalid numeric argument '/Wno-cpp'
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\VC\\Tools\\MSVC\\14.29.30133\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for rlemasklib
Failed to build rlemasklib
ERROR: Could not build wheels for rlemasklib, which is required to install pyproject.toml-based projects
I have tried the workaround suggested here which apparently worked. But when I try to import the library, I get the following error:
File "C:\Users\~~~\~~~\~~~.py", line 6, in <module>
import rlemasklib
File "C:\Users\~~~\rlemasklib\rlemasklib\__init__.py", line 1, in <module>
from rlemasklib.rlemasklib import area, complement, crop, to_bbox, encode, ones, zeros, decode, decompress, \
File "C:\~~~\rlemasklib\rlemasklib\rlemasklib.py", line 3, in <module>
import rlemasklib.rlemasklib_cython as rlemasklib_cython
ModuleNotFoundError: No module named 'rlemasklib.rlemasklib_cython'
I know the main issue is because of the compiling options for Linux, but the requirements that I have at the moment forces me to use Windows.
Any help solving this issue will be greatly appreciated.
The text was updated successfully, but these errors were encountered:
Hi! I am trying to install the library on a conda environment inside Windows 11. But I get the following error:
I have tried the workaround suggested here which apparently worked. But when I try to import the library, I get the following error:
I know the main issue is because of the compiling options for Linux, but the requirements that I have at the moment forces me to use Windows.
Any help solving this issue will be greatly appreciated.
The text was updated successfully, but these errors were encountered: