Code Monkey home page Code Monkey logo

Comments (5)

Lingghh avatar Lingghh commented on May 3, 2024

目前依赖python 3.7版本运行,可以切换为python3.7版本试试

from codeanalysis.

Anemone95 avatar Anemone95 commented on May 3, 2024

切换了依然报错:

root@fad5964aaa23:/CodeAnalysis/client# python3 codepuppy.py localscan
Traceback (most recent call last):
  File "codepuppy.py", line 18, in <module>
    from util.gitconfig import GitConfig
  File "/CodeAnalysis/client/util/gitconfig.py", line 10, in <module>
    from util.subprocc import SubProcController
ImportError: libpython3.7m.so.1.0: cannot open shared object file: No such file or directory
root@fad5964aaa23:/CodeAnalysis/client# python3 --version
Python 3.7.12

from codeanalysis.

Lingghh avatar Lingghh commented on May 3, 2024

这里的报错是python动态库找不到
可以在/usr目录下找一下libpython3.7m.so.1.0:可以执行一下以下命令:

$ find / -name libpython3.7m.so.1.0
# /xx/xx需要替换为实际路径
$ ln -s /xx/xx/libpython3.7m.so.1.0 /usr/lib/libpython3.7m.so.1.0
$ ldconfig

from codeanalysis.

color-way avatar color-way commented on May 3, 2024

链接libpython3.7m.so.1.0后报错:
Traceback (most recent call last):
File "codepuppy.py", line 18, in
from util.gitconfig import GitConfig
File "/home/test/CodeAnalysis/client/util/gitconfig.py", line 10, in
from util.subprocc import SubProcController
ImportError: /lib64/libm.so.6: version `GLIBC_2.29' not found (required by /lib/libpython3.7m.so.1.0)

from codeanalysis.

Lingghh avatar Lingghh commented on May 3, 2024

@color-way 这里看起来是本地安装的glibc版本较低导致运行失败,可以升级一下glibc再重新跑一下试试

from codeanalysis.

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.