开始:使用pyinstaller -D 进行打包。 1.提示Error loading Python DLL ‘D:\PaddleOCR\build\checknum\python39.dll’. 解决办法:将python环境中的python39.dll拷贝到build目录下。 2.提示FileNotFoundError: [WinError 2] 系统找不到指定的文件。: ‘D:\PaddleOCR\dist\checknum\paddle\fluid\…\libs’ 解决办...
2. 创建 conda 虚拟环境 conda create -n sd python=3.10 3. 安装所需的包 # install torch with CUDA support. See https://pytorch.org/get-started/locally/ for more instructions if this fails. 该命令会自动安装好cuda和 cudnn conda installpytorchtorchvision torchaudiopytorch-cuda=11.7 -c pytorch ...