P4Python : AttributeError: type object 'P4' has no attribute 'Map'

Viewed 264

Here is the code I use:

from P4 import P4, P4Exception    
mp = P4.Map()

And here's the error I get:

mp = P4.Map() AttributeError: type object 'P4' has no attribute 'Map'

WHY? According to P4Python manuals such class method should construct a new Map object.

1 Answers
Related