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

python 3.4 compatability #59

Closed
hartsock opened this issue Jun 18, 2014 · 1 comment
Closed

python 3.4 compatability #59

hartsock opened this issue Jun 18, 2014 · 1 comment

Comments

@hartsock
Copy link
Member

Running pip install pyvmomi in a python3 environment:

$ pip install pyvmomi
Downloading/unpacking pyvmomi
  Downloading pyvmomi-5.5.0.tar.gz (156Kb): 156Kb downloaded
  Storing download in cache at /Users/hartsocks/.pip/cache/https%3A%2F%2Fpypi.python.org%2Fpackages%2Fsource%2Fp%2Fpyvmomi%2Fpyvmomi-5.5.0.tar.gz
  Running setup.py egg_info for package pyvmomi

Installing collected packages: pyvmomi
  Running setup.py install for pyvmomi
      File "/Users/hartsocks/.venv/pyvmomi-tools-py3/lib/python3.4/site-packages/pyVim/connect.py", line 230
        except ValueError, ve:
                         ^
    SyntaxError: invalid syntax

      File "/Users/hartsocks/.venv/pyvmomi-tools-py3/lib/python3.4/site-packages/pyVmomi/DynamicTypeManagerHelper.py", line 48
        except vmodl.fault.MethodNotFound, err:
                                         ^
    SyntaxError: invalid syntax

      File "/Users/hartsocks/.venv/pyvmomi-tools-py3/lib/python3.4/site-packages/pyVmomi/Iso8601.py", line 179
        except Exception, e:
                        ^
    SyntaxError: invalid syntax

This should not happen.

@michaelrice
Copy link
Contributor

This is basically a duplicate of issue #55

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants