Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

import httplibrary3 failing on python3.6 #59

Open
Klee666 opened this issue Jul 15, 2019 · 1 comment
Open

import httplibrary3 failing on python3.6 #59

Klee666 opened this issue Jul 15, 2019 · 1 comment

Comments

@Klee666
Copy link

Klee666 commented Jul 15, 2019

Importing test library 'httplibrary3' failed: ModuleNotFoundError: No module named 'httplibrary3'
Traceback (most recent call last):
File "e:\python36\lib\site-packages\robotide\lib\robot\utils\importer.py", line 153, in _import
return import(name, fromlist=fromlist)
PYTHONPATH:
E:\Python36\Scripts
E:\Python36\Lib
E:\Python36\DLLs
E:\Python36\Scripts
E:\Python36
e:\python36\python36.zip
e:\python36\lib\site-packages
e:\python36\lib\site-packages\robotframework_selenium2library-3.0.0-py3.6.egg
e:\python36\lib\site-packages\win32
e:\python36\lib\site-packages\win32\lib
e:\python36\lib\site-packages\Pythonwin
e:\python36\lib\site-packages\robotide\spec
e:\python36\lib\site-packages\robotide\lib
e:\python36\lib\site-packages\robotide\contrib\testrunner../../lib
e:\python36\lib\site-packages\robotide\contrib\testrunner../../lib
File "e:\python36\lib\site-packages\robotide\spec\librarymanager.py", line 87, in _fetch_keywords
return get_import_result(path, library_args)
File "e:\python36\lib\site-packages\robotide\spec\libraryfetcher.py", line 24, in get_import_result
lib = robotapi.TestLibrary(path, args)
File "e:\python36\lib\site-packages\robotide\lib\robot\running\testlibraries.py", line 50, in TestLibrary
return_source=True)
File "e:\python36\lib\site-packages\robotide\lib\robot\utils\importer.py", line 72, in import_class_or_module
self._raise_import_failed(name, err)
File "e:\python36\lib\site-packages\robotide\lib\robot\utils\importer.py", line 109, in _raise_import_failed
raise DataError('\n'.join(msg))

@theddaywork
Copy link

I am getting similar errors using Robot Framework 3.1.2 and Python 3.7.1:

C:\Work\robot-scripts>robot -d results Tests\test-http.robot
[ ERROR ] Error in file 'C:\Work\robot-scripts\playground\Tests\test-http.robot': Importing test library 'HttpLibrary.HTTP' failed: ModuleNotFoundError: No module named 'httplib'
Traceback (most recent call last):
File "c:\users\dday\appdata\local\programs\python\python37\lib\site-packages\HttpLibrary_init_.py", line 7, in
from HttpLibrary import livetest
File "c:\users\dday\appdata\local\programs\python\python37\lib\site-packages\HttpLibrary\livetest.py", line 43, in
import httplib
C:\Work\robot-scripts>robot --version
Robot Framework 3.1.2 (Python 3.7.1 on win32)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants