Skip to content

AttributeError, vector.Vector3.zero + print SynctaxError #1

@weegeeday

Description

@weegeeday

When running vis.py or vis3d.py, after fixing the multiple print syntax failures [print("hello world") is the correct way. written multiple times like this: print "hello world"], i get this error:
AttributeError: type object 'Vector3' has no attribute 'zero'

Full Traceback:

Traceback (most recent call last):
  File "C:\Users\USER\Downloads\ViveVisualizer-master\ViveVisualizer-master\vis.py", line 5, in <module>
    from vis3d import *
  File "C:\Users\USER\Downloads\ViveVisualizer-master\ViveVisualizer-master\vis3d.py", line 7, in <module>
    class Transform(object):
  File "C:\Users\USER\Downloads\ViveVisualizer-master\ViveVisualizer-master\vis3d.py", line 8, in Transform
    def __init__(self, pos = vector.Vector3.zero, rot = vector.Quaternion.l,
AttributeError: type object 'Vector3' has no attribute 'zero'

Oh and, heres one of the failed print syntax tracebacks.

C:\Users\USER\Downloads\ViveVisualizer-master\ViveVisualizer-master>python3 vis.py
  File "C:\Users\USER\Downloads\ViveVisualizer-master\ViveVisualizer-master\vis.py", line 297
    print "E:", slave_error, "FS:", face_sums
          ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("E:", slave_error, "FS:", face_sums)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions