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)
- 使用Findbugs工具分析代码出现编译失败。 HOT 3
- 仓库登记时候显示错误,配置为ssh,显示自动将ssh替换为http HOT 1
- 【需求】一个小细节, jenkins插件assert .hpi文件命名带上tca信息 HOT 1
- 【BUG】安装TCA插件,配置TCA 测试任务,一触发任务jenkins就会shutdown,且所触发的构建#N在界面上会消失 HOT 3
- 【咨询】如何查看当前的扫描日志或是扫描状态 HOT 1
- 【需求】与LDAP集成
- 【需求】项目普通成员可配置是否允许标记处理 或是 提供类似read_only的角色 HOT 1
- 求一些提高服务可靠性的建议🫡
- 问下有除了腾讯csig以外用这个代码分析的用户吗? HOT 1
- 是否有Python静态代码解析结果的关系图功能,类似vs code中的“查找所有引用” HOT 1
- 基于客户端分析模式,怎么获取git代码的详情,代码库12G HOT 4
- 【需求】在标记处理问题时,能够支持填写标记的备注,方便回溯问题分析过程 HOT 1
- 圈复杂度的codefile报错,代码检测错误codefile正常 HOT 4
- 客户端扫描执行崩溃 HOT 1
- 【需求】调研集成 corax 社区版 HOT 1
- 使用findbugs时,指令gradle未找到 HOT 3
- web端部署最新资源执行 `sh build-source.sh`在windows环境下会导致configs.json路径问题
- cls生成的Server ID发生了变化 HOT 1
- 客户端本地分析失败,HTTP Error 500: Internal Server Error
- 打开问题详情复制文件名时,变成关闭 HOT 1
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.