Forum Archive

Import errors after update

iDevy

After updating pythonista (from like 2.0 or 2.1 to 2.1.1) getting some weird errors : "no module motion" (but I checked - it's still in the docs)
And in fragment:

from objc_util import *
import ui
import math

SCNView, SCNScene, SCNBox, SCNText, SCNNode, SCNLight, SCNAction, UIFont, SCNGeometry = map(ObjCClass, ['SCNView', 'SCNScene', 'SCNBox', 'SCNText', 'SCNNode', 'SCNLight', 'SCNAction', 'UIFont', 'SCNGeometry'])

I'm getting "No Objective-C class named SCNView found"
All the scripts were operational before the update.

ccc

https://forum.omz-software.com/topic/1686/3d-in-pythonista/8

iDevy

@ccc thanks! It's working now!