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

Is six a missing dependency somehow? #41

Open
pmorch opened this issue Nov 17, 2023 · 3 comments
Open

Is six a missing dependency somehow? #41

pmorch opened this issue Nov 17, 2023 · 3 comments

Comments

@pmorch
Copy link

pmorch commented Nov 17, 2023

Hi, I can see that six does seem to already be a dependency (something I don't really understand), but it seems to still be missing from 2.0.2:

$ mkdir /tmp/venv

$ cd /tmp/venv

$ python3 -m venv .

$ ./bin/pip install python-pam
Collecting python-pam
  Using cached python_pam-2.0.2-py3-none-any.whl (10 kB)
Installing collected packages: python-pam
Successfully installed python-pam-2.0.2

$ ./bin/python -c 'import pam ; print("hi")'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/tmp/venv/lib/python3.11/site-packages/pam/__init__.py", line 9, in <module>
    from .__internals import PAM_ACCT_EXPIRED
  File "/tmp/venv/lib/python3.11/site-packages/pam/__internals.py", line 2, in <module>
    import six
ModuleNotFoundError: No module named 'six'

$ ./bin/pip install six
Collecting six
  Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Installing collected packages: six
Successfully installed six-1.16.0

$ ./bin/python -c 'import pam ; print("hi")'
hi
@svmhdvn
Copy link

svmhdvn commented Jun 13, 2024

I'm running into this issue too, @FirefighterBlu3 would you be able to take a look? Working around this by manually installing this locally for now.

@FirefighterBlu3
Copy link
Owner

FirefighterBlu3 commented Jun 14, 2024 via email

@pkoning2
Copy link

It's still broken in the published version 2.0.2.

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

4 participants