Open xkortex opened 5 years ago
Never mind, looks like it's fixed on master, just needs to update to PyPI. On that note, your versioning is lagging in a few places.
Also I don't feel like opening a full PR for it, but I think you have a paren bug on https://github.com/politeauthority/docker-pretty-ps/blob/master/dockerprettyps/__init__.py#L285
Thanks, I'll take a look this evening. This is the first time I've published to pypi, still figuring out some of the finer points.
I vote for the
not just python, or specific python path
ubuntu 18.04.2 LTS
have to change file /home/$user/.local/bin/docker-pretty-ps
to make it work
#!/usr/local/opt/python/bin/python3.7
=> #!/usr/bin/python3
Seconded for #!/usr/bin/env python3
+1 for #!/usr/bin/python3 ubuntu 18.04.2 LTS
+1 for #!/usr/bin/env python3 on Ubuntu 18.04.4 LTS. Could we get an update to PyPi?
Second that PyPi update!
paperspace@psxt5sy7q ~> sudo -H pip install docker-pretty-ps
Collecting docker-pretty-ps
Downloading docker_pretty_ps-1.0.2-py3-none-any.whl (13 kB)
Installing collected packages: docker-pretty-ps
Successfully installed docker-pretty-ps-1.0.2
paperspace@psxt5sy7q ~> docker-pretty-ps
Failed to execute process '/usr/local/bin/docker-pretty-ps'. Reason:
The file '/usr/local/bin/docker-pretty-ps' specified the interpreter '/usr/local/opt/python/bin/python3.7', which is not an executable command.
+1 #!/usr/bin/env python3
+1 plz update PyPi
please update PyPi ðŸ˜
The author haven't updated for a whole year. Could some one fork this repo and publish to PyPI as docker-pretty-ps-fork
, with scrips of same name?
In the main entry point,
changing that to
#!/usr/local/opt/python/bin/python3
or even better/usr/bin/python3
which will on most Debians will point to the correct installed version of python3 via symlink.