JuliaPy / PyCall.jl

Package to call Python functions from the Julia language
MIT License
1.47k stars 187 forks source link

brpc problem #899

Closed Cyvadra closed 3 years ago

Cyvadra commented 3 years ago

Fail to define brpc::ENOSERVICE(1001) which is already defined as `未知的错误 1001', abort


julia> versioninfo()
Julia Version 1.6.0
Commit f9720dc2eb (2021-03-24 12:55 UTC)
Platform Info:
  OS: Linux (x86_64-pc-linux-gnu)
  CPU: Intel(R) Xeon(R) Platinum 8269CY CPU @ 2.50GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-11.0.1 (ORCJIT, cascadelake)
Environment:
  JULIA_NUM_THREADS = 3
  JULIA_PKG_SERVER = https://mirrors.ustc.edu.cn/julia

julia> using PyCall

julia> pyimport_e("paddlepaddle")
PyObject NULL

julia> pyimport_e("paddlehub")
Fail to define brpc::ENOSERVICE(1001) which is already defined as `未知的错误 1001', abort.%                               [dj@dz]~/going% 

everything okay on mac and other linux, just can't figure out why did this happen is there another way to run python package as a service?

Cyvadra commented 3 years ago

whatever