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

Instructions should specify pip3, perhaps #11

Open
dougdyer opened this issue Jun 6, 2019 · 0 comments
Open

Instructions should specify pip3, perhaps #11

dougdyer opened this issue Jun 6, 2019 · 0 comments

Comments

@dougdyer
Copy link

dougdyer commented Jun 6, 2019

I'm not a Python expert, but using Ubuntu 16.04 I found the current instructions apparently start python3 by default. In Linux, "python" start Python v2.x while "python3" starts Python v3.x. Meanwhile, "pip" starts the package manager for Python v2.x, so the instruction to install the onetimepass resulted in python3 being unable to import the module.

To fix, I installed pip3:
sudo apt install python3-pip

Then added onetimepass:
sudo -H pip3 install onetimepass

Then everything worked as expected. Thanks very much for Apache_2fa!

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

1 participant