You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/home/vscode/.kusion/kclvm/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/home/vscode/.kusion/kclvm/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/vscode/.kusion/kclvm/lib/python3.7/kclvm/__main__.py", line 3, in <module>
import kclvm.internal.kclvm_internal.main as main
File "/home/vscode/.kusion/kclvm/lib/python3.7/kclvm/internal/kclvm_internal/__init__.py", line 1, in <module>
import kclvm.config as config
File "/home/vscode/.kusion/kclvm/lib/python3.7/kclvm/config/__init__.py", line 26, in <module>
from .modfile_pb2 import KclModFile
File "/home/vscode/.kusion/kclvm/lib/python3.7/kclvm/config/modfile_pb2.py", line 8, in <module>
from google.protobuf import reflection as _reflection
File "/home/vscode/.kusion/kclvm/lib/python3.7/site-packages/google/protobuf/reflection.py", line 51, in <module>
from google.protobuf import message_factory
File "/home/vscode/.kusion/kclvm/lib/python3.7/site-packages/google/protobuf/message_factory.py", line 49, in <module>
from google.protobuf.internal import python_message as message_impl
File "/home/vscode/.kusion/kclvm/lib/python3.7/site-packages/google/protobuf/internal/python_message.py", line 64, in <module>
from google.protobuf.internal import extension_dict
File "/home/vscode/.kusion/kclvm/lib/python3.7/site-packages/google/protobuf/internal/extension_dict.py", line 34, in <module>
from google.protobuf.internal import type_checkers
File "/home/vscode/.kusion/kclvm/lib/python3.7/site-packages/google/protobuf/internal/type_checkers.py", line 48, in <module>
import ctypes
File "/home/vscode/.kusion/kclvm/lib/python3.7/ctypes/__init__.py", line 7, in <module>
from _ctypes import Union, Structure, Array
ImportError: libffi.so.7: cannot open shared object file: No such file or directory
4. What is your KusionStack components version? (Required)
v0.7.1
The text was updated successfully, but these errors were encountered:
The KCL with versions above v0.4.4-alpha.2 no longer has built-in python3. This error will not be encountered. We can use the following command to install python3 3 and pip in ubuntu 22+ like #327
Bug Report
I installed kclvm on ubuntu 22.04 and run
kcl
and it produces following error:https://askubuntu.com/questions/1286772/libffi-so-7-cannot-open-shared-object-file-no-such-file-or-directory
1. Minimal reproduce step (Required)
2. What did you expect to see? (Required)
kcl help message
3. What did you see instead (Required)
4. What is your KusionStack components version? (Required)
v0.7.1
The text was updated successfully, but these errors were encountered: