Comments (4)
这里的python3要求版本是3.7,麻烦切换版本再试试
from codeanalysis.
换了3.7.9的环境,执行扫描,又报如下错误:
[root@localhost client]# python3 -V
Python 3.7.9
[root@localhost client]#
[root@localhost client]# python3 codepuppy.py localscan
Traceback (most recent call last):
File "codepuppy.py", line 22, in
from tool.util.pythontool import PythonTool
File "/opt/CodeAnalysis/client/tool/util/pythontool.py", line 15, in
from task.scmmgr import SCMMgr
ImportError: libpython3.7m.so.1.0: cannot open shared object file: No such file or directory
[root@localhost client]#
[root@localhost client]#
from codeanalysis.
换了3.7.9的环境,执行扫描,又报如下错误:
[root@localhost client]# python3 -V Python 3.7.9 [root@localhost client]# [root@localhost client]# python3 codepuppy.py localscan Traceback (most recent call last): File "codepuppy.py", line 22, in from tool.util.pythontool import PythonTool File "/opt/CodeAnalysis/client/tool/util/pythontool.py", line 15, in from task.scmmgr import SCMMgr ImportError: libpython3.7m.so.1.0: cannot open shared object file: No such file or directory [root@localhost client]# [root@localhost client]#
重新安装python3, 执行配置文件时加上--enable-shared后解决
./configure --prefix=/opt/python3 --enable-shared
from codeanalysis.
还需要配置好Python库。
进入:/etc/ld.so.conf.d/
$ cd /etc/ld.so.conf.d/
新建:python3.conf
$ vim python3.conf
输入如下一行内容后,保存,退出编辑
/opt/python3/lib
执行ldconfig刷新
$ ldconfig
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.