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