Skip to content

unable to access config-cli.py after installation #1514

Closed
@manojs1978

Description

What is failing?

while accessing config-cli.py after jans-cli installation failing with below error

Where is it failing?

[root@glucentos8 ~]# /opt/jans/jans-cli/config-cli.py
Traceback (most recent call last):
File "/opt/jans/jans-cli/config-cli.py", line 50, in
swagger_client = importlib.import_module(my_op_mode + '.swagger_client')
File "/usr/lib64/python3.6/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 994, in _gcd_import
File "", line 971, in _find_and_load
File "", line 955, in _find_and_load_unlocked
File "", line 665, in _load_unlocked
File "", line 678, in exec_module
File "", line 219, in _call_with_frames_removed
File "/opt/jans/jans-cli/jca/swagger_client/init.py", line 18, in
from swagger_client.api.admin_ui___license_api import AdminUILicenseApi
File "/opt/jans/jans-cli/jca/swagger_client/init.py", line 18, in
from swagger_client.api.admin_ui___license_api import AdminUILicenseApi
File "/opt/jans/jans-cli/jca/swagger_client/api/init.py", line 6, in
from swagger_client.api.admin_ui___license_api import AdminUILicenseApi
File "/opt/jans/jans-cli/jca/swagger_client/api/admin_ui___license_api.py", line 20, in
from swagger_client.api_client import ApiClient
File "/opt/jans/jans-cli/jca/swagger_client/api_client.py", line 27, in
from swagger_client import rest
File "/opt/jans/jans-cli/jca/swagger_client/rest.py", line 21, in
import certifi
ModuleNotFoundError: No module named 'certifi'

steps:
install jans using install.py
access /opt/jans/jans-cli/config-cli.py

OS: centos8

image

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions