找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 887|回复: 3

[求助] roop最新版的保错

[复制链接]

1

主题

3

回帖

19

零食

入门显卡4G

积分
23
发表于 2023-9-4 12:58:29 来自手机 | 显示全部楼层 |阅读模式
(VENV) C:\roop1.3.2c>python run.py --source "C:/png/c.jpg" --target "C:/png/3d0dd37c241df144ee38d7345a5825e6.mp4" --output "C:/png/��.mp4" --frame-processor face_swapper face_enhancer --keep-fps --similar-face-distance 0.85 --temp-frame-format png --temp-frame-quality 18 --output-video-quality 18 --max-memory 4 --execution-provider cpu --execution-threads 4
C:\roop1.3.2c\python3\lib\site-packages\onnxruntime\capi\_pybind_state.py:26: UserWarning: Please install the 2019 Visual C++ runtime and then try again. If you've installed the runtime in a non-standard location (other than %SystemRoot%\System32), make sure it can be found by setting the correct path.
  warnings.warn("Please install the 2019 Visual C++ runtime and then try again. "
Traceback (most recent call last):
  File "C:\roop1.3.2c\run.py", line 3, in <module>
    from roop import core
  File "C:\roop1.3.2c\roop\core.py", line 17, in <module>
    import tensorflow
  File "C:\roop1.3.2c\python3\lib\site-packages\tensorflow\__init__.py", line 38, in <module>
    from tensorflow.python.tools import module_util as _module_util
  File "C:\roop1.3.2c\python3\lib\site-packages\tensorflow\python\__init__.py", line 36, in <module>
    from tensorflow.python import pywrap_tensorflow as _pywrap_tensorflow
  File "C:\roop1.3.2c\python3\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 26, in <module>
    self_check.preload_check()
  File "C:\roop1.3.2c\python3\lib\site-packages\tensorflow\python\platform\self_check.py", line 50, in preload_check
    raise ImportError(
ImportError: Could not find the DLL(s) 'msvcp140_1.dll'. TensorFlow requires that these DLLs be installed in a directory that is named in your %PATH% environment variable. You may install these DLLs by downloading "Microsoft C++ Redistributable for Visual Studio 2015, 2017 and 2019" for your platform from this URL: https://support.microsoft.com/help/2977003/the-latest-supported-visual-c-downloads提示这个,是啥原因
回复

使用道具 举报

15

主题

45

回帖

98

零食

初级显卡6G

积分
158
发表于 2023-9-4 14:57:59 | 显示全部楼层
不能有中文名
回复

使用道具 举报

62

主题

1442

回帖

1511

零食

神级显卡

积分
3015
发表于 2023-9-4 15:37:31 | 显示全部楼层
中文名字的路径啊
回复

使用道具 举报

162

主题

353

回帖

95万

零食

超级版主

积分
954382

活跃会员推广达人突出贡献优秀版主荣誉管理论坛元老

发表于 2023-9-13 23:14:56 | 显示全部楼层
本帖最后由 哨箭勇度 于 2023-9-13 23:16 编辑

缺少最基本运行库,已经不是整合版的问题了,是你的WIN10系统太古老 下载这个https://www.ooai8.com/thread-26485-1-1.html

注意,这个不是VS studio,这个是win10基础运行库,只有几兆
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|圈圈AI吧

GMT+8, 2024-12-24 03:18 , Processed in 0.249960 second(s), 19 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表