Import albumentations fails

FaultyBagnose: <p>Using PyCharm on Win 10.<br>
Python file contains only this import:</p>
<p>import albumentations as A</p>
<p>From the PyCharm Terminal window I have installed Albumentation with the command<br>
‘pip install albumentations’<br>
(also tried ‘pip install albumentations==0.0.10’)<br>
The pip install gives no errors, but when I run the file, it gives the lengthy error message below.<br>
There seems to be a problem relating to something called _rolling_ball_cy.<br>
Tried to ‘pip install opencv-rolling-ball’ with no change.</p>
<p>Help would be most appreciated!</p>
<p>F</p>
<p>Traceback (most recent call last):<br>
File “C:\PycharmProjects\A_test\file.py”, line 9, in <br>
import albumentations as A<br>
File “C:\PycharmProjects\A_test\venv\lib\site-packages\albumentations_<em>init</em>_.py”, line 8, in <br>
from .imgaug.transforms import *<br>
File “C:\PycharmProjects\A_test\venv\lib\site-packages\albumentations\imgaug\transforms.py”, line 1, in <br>
from imgaug import augmenters as iaa<br>
File “C:\PycharmProjects\A_test\venv\lib\site-packages\imgaug_<em>init</em>_.py”, line 9, in <br>
import imgaug.augmentables as augmentables<br>
File “C:\PycharmProjects\A_test\venv\lib\site-packages\imgaug\augmentables_<em>init</em>_.py”, line 8, in <br>
from imgaug.augmentables.segmaps import *<br>
File “C:\PycharmProjects\A_test\venv\lib\site-packages\imgaug\augmentables\segmaps.py”, line 12, in <br>
from …augmenters import blend as blendlib<br>
File “C:\PycharmProjects\A_test\venv\lib\site-packages\imgaug\augmenters_<em>init</em>_.py”, line 21, in <br>
from imgaug.augmenters.segmentation import *<br>
File “C:\PycharmProjects\A_test\venv\lib\site-packages\imgaug\augmenters\segmentation.py”, line 21, in <br>
import skimage.segmentation<br>
File “C:\PycharmProjects\A_test\venv\lib\site-packages\skimage\segmentation_<em>init</em>_.py”, line 3, in <br>
from .active_contour_model import active_contour<br>
File “C:\PycharmProjects\A_test\venv\lib\site-packages\skimage\segmentation\active_contour_model.py”, line 4, in <br>
from …filters import sobel<br>
File “C:\PycharmProjects\A_test\venv\lib\site-packages\skimage\filters_<em>init</em>_.py”, line 4, in <br>
from .edges import (sobel, sobel_h, sobel_v,<br>
File “C:\PycharmProjects\A_test\venv\lib\site-packages\skimage\filters\edges.py”, line 18, in <br>
from …restoration.uft import laplacian<br>
File “C:\PycharmProjects\A_test\venv\lib\site-packages\skimage\restoration_<em>init</em>_.py”, line 13, in <br>
from .rolling_ball import rolling_ball, ball_kernel, ellipsoid_kernel<br>
File “C:\PycharmProjects\A_test\venv\lib\site-packages\skimage\restoration\rolling_ball.py”, line 3, in <br>
from ._rolling_ball_cy import apply_kernel, apply_kernel_nan<br>
ImportError: DLL load failed while importing _rolling_ball_cy: The specified module could not be found.</p>
<p>Process finished with exit code 1</p>

ptrblck: <p>This issue seems to be specific to the <code>albumentations</code> package, so I would recommend to create an issue in their repository. <img src="https://discuss.pytorch.org/images/emoji/apple/wink.png?v=9" title=":wink:" class="emoji" alt=":wink:"></p>

ll688ll: <p>Hello, I got the same error as you had. Did you find out how to fix it? Thank you</p>