docker-push-ssh icon indicating copy to clipboard operation
docker-push-ssh copied to clipboard

Refactor code for python3

Open LuisBlanche opened this issue 4 years ago • 2 comments

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

LuisBlanche avatar Nov 06 '20 10:11 LuisBlanche

$ 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'

nmgeek avatar Mar 03 '21 23:03 nmgeek

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

superhawk610 avatar Dec 04 '21 06:12 superhawk610