Python WurflCloud ImportError

General question about two step analysis, matchers and other general API questions
playmobilecomco
Posts: 1
Joined: Thu Jun 14, 2012 9:20 pm

Python WurflCloud ImportError

Postby playmobilecomco » Thu Jun 14, 2012 9:48 pm

Hi,

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 Cloud.py nor WurflCloud.py; only utils.py

Is It a mistake of my side ? or what.

By

kamermans
Posts: 393
Joined: Mon Jun 06, 2011 9:50 am

Re: Python WurflCloud ImportError

Postby kamermans » Fri Jun 15, 2012 9:01 am

Hi,

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.
Thanks,

Steve Kamerman
ScientiaMobile

Make sure you check out our WURFL Cloud, WURFL InSight and WURFL InFuze products!


Who is online

Users browsing this forum: No registered users and 18 guests