Skip to content

Error import lib #59

@kattinum

Description

@kattinum

Hello,

I found this issue while installing.

Getting requirements to build wheel ... error
ERROR: Command errored out with exit status 1:
command: 'c:\python27\python.exe' 'c:\python27\lib\site-packages\pip_vendor\pep517_in_process.py' get_requires_for_build_wheel 'c:\users\teammy\appdata\local\te
mp\tmpqqqvvh'
cwd: c:\users\teammy\appdata\local\temp\pip-install-1bimly\opencv-python
Complete output (22 lines):
Traceback (most recent call last):
File "c:\python27\lib\site-packages\pip_vendor\pep517_in_process.py", line 280, in
main()
File "c:\python27\lib\site-packages\pip_vendor\pep517_in_process.py", line 263, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "c:\python27\lib\site-packages\pip_vendor\pep517_in_process.py", line 114, in get_requires_for_build_wheel
return hook(config_settings)
File "c:\users\teammy\appdata\local\temp\pip-build-env-llenxw\overlay\Lib\site-packages\setuptools\build_meta.py", line 146, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=['wheel'])
File "c:\users\teammy\appdata\local\temp\pip-build-env-llenxw\overlay\Lib\site-packages\setuptools\build_meta.py", line 127, in _get_build_requires
self.run_setup()
File "c:\users\teammy\appdata\local\temp\pip-build-env-llenxw\overlay\Lib\site-packages\setuptools\build_meta.py", line 243, in run_setup
self).run_setup(setup_script=setup_script)
File "c:\users\teammy\appdata\local\temp\pip-build-env-llenxw\overlay\Lib\site-packages\setuptools\build_meta.py", line 142, in run_setup
exec(compile(code, file, 'exec'), locals())
File "setup.py", line 448, in
main()
File "setup.py", line 99, in main
% {"ext": re.escape(sysconfig.get_config_var("EXT_SUFFIX"))}
File "c:\python27\lib\re.py", line 210, in escape
s = list(pattern)
TypeError: 'NoneType' object is not iterable

ERROR: Command errored out with exit status 1: 'c:\python27\python.exe' 'c:\python27\lib\site-packages\pip_vendor\pep517_in_process.py' get_requires_for_build_whee
l 'c:\users\teammy\appdata\local\temp\tmpqqqvvh' Check the logs for full command output.


I ran the script and found the issue below that causes 'No keyword found'. I'm not sure it relates to the above issue or not. Any suggestion to resolve this case?

[ ERROR ] Error in file 'D:\automate\RF\RF-Scripts\POC\tests\PruCnt-Login-ValidID.robot' on line 4: Importing test library 'ScreenCapLibrary' failed: ImportError: No
module named ScreenCapLibrary
Traceback (most recent call last):
None
PYTHONPATH:
C:\Python27\Scripts\robot.exe
C:\WINDOWS\SYSTEM32\python27.zip
c:\python27\DLLs
c:\python27\lib
c:\python27\lib\plat-win
c:\python27\lib\lib-tk
c:\python27
c:\python27\lib\site-packages

Thank you in advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions