Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

执行phthon3相关指令提示:No module named 'util._cmdsvn' #1114

Open
YuriTam opened this issue Jul 5, 2024 · 7 comments
Open

执行phthon3相关指令提示:No module named 'util._cmdsvn' #1114

YuriTam opened this issue Jul 5, 2024 · 7 comments

Comments

@YuriTam
Copy link

YuriTam commented Jul 5, 2024

Traceback (most recent call last):
File "/home/lighthouse/CodeAnalysis/client/codepuppy.py", line 22, in
from node.toolloader.loadtool import ToolLoader, ToolConfigLoader
File "/home/lighthouse/CodeAnalysis/client/node/toolloader/loadtool.py", line 19, in
from node.toolloader.gitload import GitLoader
File "/home/lighthouse/CodeAnalysis/client/node/toolloader/gitload.py", line 16, in
from util.cmdscm import ScmClient
File "/home/lighthouse/CodeAnalysis/client/util/cmdscm.py", line 20, in
from ._cmdsvn import CmdSvn
ModuleNotFoundError: No module named 'util._cmdsvn'

@cyw3
Copy link
Collaborator

cyw3 commented Jul 8, 2024

  1. 请问是什么部署方式呢?

  2. 这是在用源码接入client节点吗?
    可以试试先执行以下命令安装必要的库

bash ./scripts/base/install_bin.sh

@hwangyungping
Copy link

client容器部署方式也遇到相同的问题

@cyw3
Copy link
Collaborator

cyw3 commented Jul 19, 2024

client容器部署方式也遇到相同的问题

有没有执行该命令呢?

@hwangyungping
Copy link

hwangyungping commented Jul 22, 2024

client容器部署方式也遇到相同的问题

有没有执行该命令呢?

执行命令对应的操作,因为我是在内部网络没法直接访问github。我是手动下载,相当于手动download_lib然后deepmove。
难道手动download_lib的git仓库版本不对?
下载tca_lib命令:
git clone https://private:[email protected]/TCA/tca-tools/tca_lib.git

@cyw3
Copy link
Collaborator

cyw3 commented Jul 29, 2024

可以进到client位置查看 util/_cmdgit.cpython-37m-x86_64-linux-gnu.so 文件是否存在。

@hwangyungping
Copy link

client/util下so文件存在的,这些文件是从tca_LIB中深度拷贝的,我看日志deepmove是操作了的。所以我怀疑是不是我手动download tca_lib是不是版本不兼容?

@cyw3
Copy link
Collaborator

cyw3 commented Aug 7, 2024

ls -al client/util/

看看

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants