Page 1 of 1

Python WurflCloud ImportError

Posted: Thu Jun 14, 2012 9:48 pm
by playmobilecomco

I get this error white duplicating the python example suggested in the Getting Started Page:

from wurfl_cloud import WurflCloud
ImportError: cannot import name WurflCloud

In site-packages/wurfl_cloud-1.0.1-py2.7.egg/wurfl_cloud/ thete is No nor; only

Is It a mistake of my side ? or what.


Re: Python WurflCloud ImportError

Posted: Fri Jun 15, 2012 9:01 am
by kamermans

Please accept our apologies for the minor naming convention mistake in the "Getting Started" documentation guide, we will update it shortly. You should use the following import statement:

from wurfl_cloud import Cloud as WurflCloud
from wurfl_cloud import utils

Also, please make sure that you have "wurfl_cloud" package installed. You can run this following command "pip freeze", and to verify that you have "wurfl-cloud==1.0.1" package installed.