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

PAM Python module does not support third party libraries #2

Open
nguyen102 opened this issue May 28, 2024 · 1 comment
Open

PAM Python module does not support third party libraries #2

nguyen102 opened this issue May 28, 2024 · 1 comment

Comments

@nguyen102
Copy link

The PAM module here uses python3. However, importing third party libraries in the python script does not work.

I tried doing both pip install boto3 and pip3 install boto3. However, when I run my python script with pam_python3.so I'm getting the error ModuleNotFoundError: No module named 'boto3'

What is the proper way to allow proper import of third party libraries?

@liuberlin
Copy link

I have the same issus,when import requests, then ModuleNotFoundError: No module named 'requests', the requests are installed with python2 and python3

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

2 participants