taikoo / parallel-ssh

Automatically exported from code.google.com/p/parallel-ssh
Other
0 stars 0 forks source link

pssh command don't work on python3.x #70

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. install psshlib on python3
2. run pssh command
3. error

What is the expected output? What do you see instead?

Traceback (most recent call last):
  File "/usr/local/python3.2/bin/pssh", line 26, in <module>
    from psshlib.cli import common_parser, common_defaults
  File "/usr/local/python3.2/lib/python3.2/site-packages/psshlib/cli.py", line 9, in <module>
    import version
ImportError: No module named version

What version of the product are you using? On what operating system?

source cloned from master branch (540e26e)

Please provide any additional information below.

line 9 in psshlib.cli
"import version" -> "from psshlib import version"

Original issue reported on code.google.com by shoma....@gmail.com on 1 May 2012 at 12:46

GoogleCodeExporter commented 9 years ago
This has been fixed in the master branch for a while, but we haven't made a new 
release since then. Hopefully I'll be able to do this in a week or two. In the 
meantime, if you're in a hurry, feel free to do a `git clone` as described in 
the "Source" tab of the parallel-ssh project page. Alternatively, change line 9 
of cli.py to:

  from . import version

Sorry for the inconvenience, and thank you very much for participating with 
pssh. It's great to have dedicated users.

Original comment by amcna...@gmail.com on 1 May 2012 at 2:34