tf-1.13.1
$ python setup.py
警告在没有root / admin特权的情况下运行 INFO该工具提供安装提示 并安装所需的python软件包 达尔文18.2.0中的信息设置 INFO安装的Python:3.5.0 64bit 信息编码:UTF-8 INFO升级中... 信息安装点数:19.0.3 启用Docker? [y / N] n 信息Docker已禁用 启用CUDA? [是/否] n INFO CUDA已禁用 INFO检查系统依赖性... INFO CMake版本:3.14.1 请确保满足您的系统依赖性。继续? [y / N] y 信息满足所有python3依赖关系。 你很高兴。
Enter: 'python faceswap.py -h' to see the options
'python faceswap.py gui' to launch the GUI
$ python faceswap.py -h
Traceback (most recent call last):
File "faceswap.py", line 5, in <module>
import lib.cli as cli
File "/Users/water/Desktop/git/other/faceswap/lib/cli.py", line 11, in <module>
from lib.logger import crash_log, log_setup
File "/Users/water/Desktop/git/other/faceswap/lib/logger.py", line 15, in <module>
from lib.sysinfo import sysinfo
File "/Users/water/Desktop/git/other/faceswap/lib/sysinfo.py", line 12, in <module>
from lib.gpu_stats import GPUStats
File "/Users/water/Desktop/git/other/faceswap/lib/gpu_stats.py", line 8, in <module>
import pynvx # pylint: disable=import-error
File "/Users/water/.pyenv/versions/3.5.0/lib/python3.5/site-packages/pynvx/__init__.py", line 1, in <module>
from _pynvx import *
ImportError: dlopen(/Users/water/.pyenv/versions/3.5.0/lib/python3.5/site-packages/_pynvx.cpython-35m-darwin.so, 2): Symbol not found: __PyThreadState_UncheckedGet
Referenced from: /Users/water/.pyenv/versions/3.5.0/lib/python3.5/site-packages/_pynvx.cpython-35m-darwin.so
Expected in: flat namespace
in /Users/water/.pyenv/versions/3.5.0/lib/python3.5/site-packages/_pynvx.cpython-35m-darwin.so
答案 0 :(得分:0)
将python从v3.5.0更改为v3.6.8后可以工作,但是我发现自述文件中说“ Python> = 3.2-3.6 64位(不能为3.7.x,因为尚未更新Tensorflow以提供支持)”如此。