Coder Social home page Coder Social logo

通过本地编译启动方式测试FL任务时,总是提示“ImportError: /usr/local/lib/python3.8/lib-dynload/_posixsubprocess.cpython-38-x86_64-linux-gnu.so: undefined symbol: PyTuple_Type” about primihub HOT 5 CLOSED

primihub avatar primihub commented on May 27, 2024
通过本地编译启动方式测试FL任务时,总是提示“ImportError: /usr/local/lib/python3.8/lib-dynload/_posixsubprocess.cpython-38-x86_64-linux-gnu.so: undefined symbol: PyTuple_Type”

from primihub.

Comments (5)

fuxingbit avatar fuxingbit commented on May 27, 2024

你是使用的什么系统?如果是centos或者ubuntu,可以参考这里配置python环境,如果是别的系统,可以尝试通过miniconda安装python,参考这里

from primihub.

shuizhongmose avatar shuizhongmose commented on May 27, 2024

你是使用的什么系统?如果是centos或者ubuntu,可以参考这里配置python环境,如果是别的系统,可以尝试通过miniconda安装python,参考这里

是CentOS8,目前可以测试MPC、PSI和PIR的功能,就是无法测试FL。

from primihub.

phoenix20162016 avatar phoenix20162016 commented on May 27, 2024

你是使用的什么系统?如果是centos或者ubuntu,可以参考这里配置python环境,如果是别的系统,可以尝试通过miniconda安装python,参考这里

是CentOS8,目前可以测试MPC、PSI和PIR的功能,就是无法测试FL。

follow the instruction as mentioned, does your problem have been resolved?

from primihub.

shuizhongmose avatar shuizhongmose commented on May 27, 2024

系统是CentOS8,将python升级到3.9以后,出现undefined symbol: PyFloat_Type错误。打算直接转到ubuntu20再测试了。

from primihub.

fuxingbit avatar fuxingbit commented on May 27, 2024
python_lib_path=$(dirname $(dirname $(which python)))
export LD_LIBRARY_PATH=${python_lib_path}/lib:${LD_LIBRARY_PATH}

找到你python lib的路径,参照上面的命令把这个路径加到LD_LIBRARY_PATH中,将以上两行加到start_server.sh脚本中

from primihub.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.