Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python下运行,报Fatal Python error: PyThreadState_Get: no current thread #104

Open
17y opened this issue Apr 16, 2020 · 1 comment
Open

Comments

@17y
Copy link

17y commented Apr 16, 2020

环境:Mac 10.15 pyenv 3.6.1

执行 build.sh 前将 Makefile 中 PYTHON_PATH 改为 pyenv 对应 python的路径 ~/.pyenv/versions/3.6.1

执行 otool -L python/familia.so

python/familia.so:
python/familia.so (compatibility version 0.0.0, current version 0.0.0)
/Users/prcheers/Desktop/Familia/third_party/lib/libglog.0.dylib (compatibility version 1.0.0, current version 1.0.0)
/Users/prcheers/Desktop/Familia/third_party/lib/libgflags.2.dylib (compatibility version 4.0.0, current version 4.0.0)
/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 902.1.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1281.100.1)

执行任意python demo
Fatal Python error: PyThreadState_Get: no current thread

看过 #83 没有解决 T.T

@DesmonDay
Copy link
Collaborator

Hello. 建议使用PaddleHub 1.8版本上线的LDA模型,使用起来很方便,也不需要自己配置环境来编译C++版本了。可以看看我们更新之后的README,里面包含了PaddleHub具体的使用例子和安装事项,也可以看这里:https://www.paddlepaddle.org.cn/hublist?filter=en_category&value=SemanticModel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants