sczhou / CodeFormer

[NeurIPS 2022] Towards Robust Blind Face Restoration with Codebook Lookup Transformer
Other
15.93k stars 3.36k forks source link

Rescue: python basicsr/setup.py develop error #387

Open deng11408205 opened 4 months ago

deng11408205 commented 4 months ago

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: 找不到指定的模块。