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

Refactor code for python3 #14

Open
LuisBlanche opened this issue Nov 6, 2020 · 2 comments
Open

Refactor code for python3 #14

LuisBlanche opened this issue Nov 6, 2020 · 2 comments

Comments

@LuisBlanche
Copy link

Python 2 was abandoned ,
code uses some python 2 libararies like urllib2

@nmgeek
Copy link

nmgeek commented Mar 3, 2021

$ docker-push-ssh
Traceback (most recent call last):
  File "/usr/local/bin/docker-push-ssh", line 3, in <module>
    from docker_push_ssh import cli
  File "/usr/local/lib/python3.6/dist-packages/docker_push_ssh/cli.py", line 19, in <module>
    import urllib2
ModuleNotFoundError: No module named 'urllib2'

@superhawk610
Copy link

For anybody else who ends up here, until Luis's PR (#15) is merged, you can install directly from Github

$ pip install --upgrade --user git+https://github.com/LuisBlanche/docker-push-ssh@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

3 participants