-
Notifications
You must be signed in to change notification settings - Fork 15
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
Error import lib #59
Comments
Could be because opencv-python no longer supports Python 2.7. You could try installing an older version: |
Thank you for reply. I change python version to 3.5 and install open
Thank you for your suggestion. I change python version to 3.5 with recommended opencv-python. I still got this issue when I run a script[ ERROR ] Error in file 'D:\automate\RF\RF-Scripts\POC\tests\PruCnt-Login-ValidID.robot' on line 4: Importing test library 'ScreenCapLibrary' failed: ImportError: Im |
Do you still have this issue when trying to install latest version @kattinum? |
On Windows, also the installation of |
I have the same problem: I have opencv-contrib-python installed: Please help @simonmeggle with this issue |
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
The text was updated successfully, but these errors were encountered: