Domanda

I am using ubuntu 12.04 64 bit and i have installed p4python in it.. I tried to import p4 module but it is giving me below error

import p4 Traceback (most recent call last): File "", line 1, in ImportError: No module named p4

Can someone please help me??

È stato utile?

Soluzione

Can you try

import P4

The Module has been renamed

New module name

    The P4Python module has been renamed from p4 to P4. For example:

    Old:
    >>> import p4
    >>> p4c = p4.P4()

    New:
    >>> import P4
    >>> p4 = P4.P4()
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top