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

Installation instructions are lacking #19

Open
Shardj opened this issue Feb 22, 2023 · 1 comment
Open

Installation instructions are lacking #19

Shardj opened this issue Feb 22, 2023 · 1 comment

Comments

@Shardj
Copy link

Shardj commented Feb 22, 2023

I've not used pip before as I don't really develop with python, but I installed pip on my ubuntu instance with sudo apt install python3-pip and ran the requested pip install docker-push-ssh command. I then had to search and find that the bin path was ~/.local/bin which needed to be added to my $PATH. Then upon running docker-push-ssh -h I'm hit with 'ModuleNotFoundError: No module named 'urllib2'', and I don't seem to be able to install this missing module with pip install.

It would be great if any needed dependencies were installed with the pip install docker-push-ssh command.

@Shardj
Copy link
Author

Shardj commented Feb 22, 2023

So it seems that this is a python2 program, so:

Install python 2

Install pip 2:
curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip.py
sudo python2 get-pip.py

Then as root use pip2 to install this repo
sudo pip2 install docker-push-ssh

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