forked from g4l4drim/TestLink-API-Python-client
-
Notifications
You must be signed in to change notification settings - Fork 64
Closed
Description
I downloaded the latest version of pip for Python 2.7
Installed using the pip command successfully
I set the TESTLINK environment variables
Set TESTLINK_API_PYTHON_SERVER_URL=etc
Set TESTLINK_API_PYTHON_DEVKEY=etc
Opened Python and ran
import testlink
and I received an import error
ImportError: cannot import name TestlinkAPIClient
I also tried running some of the example scripts but also received errors.
I navigated to /usr/local/lib/python2.7/dist-packages/testlink
where the module was installed and attempted to run some of the code within the scripts:
from testlinkapigeneric import TestlinkAPIGeneric, TestLinkHelper
Traceback (most recent call last):
File "", line 1, in
File "testlinkapigeneric.py", line 22, in
from .testlinkhelper import TestLinkHelper, VERSION
ValueError: Attempted relative import in non-package
Not sure what I'm doing wrong...
Metadata
Metadata
Assignees
Labels
No labels