Comments (5)
目前依赖python 3.7版本运行,可以切换为python3.7版本试试
from codeanalysis.
切换了依然报错:
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.
这里的报错是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.
链接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.
@color-way 这里看起来是本地安装的glibc版本较低导致运行失败,可以升级一下glibc再重新跑一下试试
from codeanalysis.
Related Issues (20)
- 【BUG】安装TCA插件,配置TCA 测试任务,一触发任务jenkins就会shutdown,且所触发的构建#N在界面上会消失 HOT 3
- 【咨询】如何查看当前的扫描日志或是扫描状态 HOT 1
- 【需求】与LDAP集成
- 【需求】项目普通成员可配置是否允许标记处理 或是 提供类似read_only的角色 HOT 1
- Gitlab Oauth 500 HOT 1
- 团队管理禁用团队失败 HOT 1
- 【bug】路径过滤与tscan_cpp扫描的问题
- helm-charts安装遇到一些问题及使用上的建议 HOT 1
- 日志显示异常 HOT 2
- Unable to obtain the worker node HOT 1
- 安卓代码在git仓库src时下执行androidlint失败 HOT 2
- tscan_lua工具扫描出问题后,会导致所有问题被关闭 HOT 1
- Bug 在分析方案列表中,点击一个分析方案时,如果它的方案描述里有内容,接着点其他分析方案时,其方案描述也会有和前面一样的内容,实际上后面的分析方案并没有设置方案描述,刷新页面就会正常
- localscan时可以取消代码统计任务吗?该任务结果似乎对MR扫描没有什么用,有点浪费时间 HOT 5
- 扫描失败,提示SCM鉴权失败 账号密码错误 HOT 3
- 关于扫描速度缓慢问题 HOT 5
- 同一个问题在不同的扫描id下会出现上一个扫描已经标注处理过,下次扫描又出现相同的问题 HOT 2
- 代码库及账号不匹配 HOT 4
- v1.9.0分析android 语言Kotlin 执行结果失败
- 乌班图部署client报错
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from codeanalysis.