SurveyVisualiser icon indicating copy to clipboard operation
SurveyVisualiser copied to clipboard

Metaclass problem

Open dparkins opened this issue 8 years ago • 1 comments

I get the following error message when I attempt to run 'examples.py'

Traceback (most recent call last): File "examples.py", line 1, in from surveyvis.camera import OrbitZoomCamera File "/Users/uqdpark7/Projects/SurveyVisualiser/surveyvis/camera.py", line 5 class Camera(metaclass=ABCMeta): ^ SyntaxError: invalid syntax

dparkins avatar May 03 '17 07:05 dparkins

I believe this should work using python 3. The metaclass stuff is different from how python 2 does it

On 3 May 2017 5:50 pm, "David Parkinson" [email protected] wrote:

I get the following error message when I attempt to run 'examples.py'

Traceback (most recent call last): File "examples.py", line 1, in from surveyvis.camera import OrbitZoomCamera File "/Users/uqdpark7/Projects/SurveyVisualiser/surveyvis/camera.py", line 5 class Camera(metaclass=ABCMeta): ^ SyntaxError: invalid syntax

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Samreay/SurveyVisualiser/issues/5, or mute the thread https://github.com/notifications/unsubscribe-auth/AGb5Wd3U4_FmL791wSWzk8uabJLkwqfiks5r2DG9gaJpZM4NPDtf .

Samreay avatar May 03 '17 07:05 Samreay