When I import skimage(scikit-image) and pytorch simultaneously, I meet  a problem when I import the 2 packages in this order:
import torch
from skimage import io

It will rise an error: Segment Error
But when I adjust the order as :
from skimage import io
import torch

The error disappeared.
I guess it may be some conflicts between the 2 packages.