sczhou/CodeFormer

Rescue: python basicsr/setup.py develop error

deng11408205 opened this issue · 0 comments

python basicsr/setup.py develop
Traceback (most recent call last):
File "F:\CodeFormer\basicsr\setup.py", line 10, in
from utils.misc import gpu_is_available
File "F:\CodeFormer\basicsr\utils_init_.py", line 2, in
from .img_util import crop_border, imfrombytes, img2tensor, imwrite, tensor2img
File "F:\CodeFormer\basicsr\utils\img_util.py", line 6, in
from torchvision.utils import make_grid
File "D:\ProgramData\conda3\envs\codeformer\Lib\site-packages\torchvision_init_.py", line 6, in
from torchvision import meta_registrations, datasets, io, models, ops, transforms, utils
File "D:\ProgramData\conda3\envs\codeformer\Lib\site-packages\torchvision\datasets_init
.py", line 1, in
from ._optical_flow import FlyingChairs, FlyingThings3D, HD1K, KittiFlow, Sintel
File "D:\ProgramData\conda3\envs\codeformer\Lib\site-packages\torchvision\datasets_optical_flow.py", line 10, in
from PIL import Image
File "D:\ProgramData\conda3\envs\codeformer\Lib\site-packages\PIL\Image.py", line 88, in
from . import _imaging as core
ImportError: DLL load failed while importing _imaging: 找不到指定的模块。