robotframework-ioslibrary icon indicating copy to clipboard operation
robotframework-ioslibrary copied to clipboard

When install iOSlibrary in Python 3.x throws NameError: name 'execfile' is not define

Open jsivapatha opened this issue 6 years ago • 0 comments

C:\Users\jan>pip install --upgrade robotframework-ioslibrary Collecting robotframework-ioslibrary Using cached robotframework-ioslibrary-0.2.0.tar.gz (43 kB) ERROR: Command errored out with exit status 1: command: 'c:\python\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\jsivapatha\AppData\Local\Temp\1\pip-install-0d33hv1w\robotframework-ioslibrary\setup.py'"'"'; file='"'"'C:\Users\jsivapatha\AppData\Local\Temp\1\pip-install-0d33hv1w\robotframework-ioslibrary\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\jsivapatha\AppData\Local\Temp\1\pip-install-0d33hv1w\robotframework-ioslibrary\pip-egg-info' cwd: C:\Users\jsivapatha\AppData\Local\Temp\1\pip-install-0d33hv1w\robotframework-ioslibrary
Complete output (5 lines): Traceback (most recent call last): File "", line 1, in File "C:\Users\jsivapatha\AppData\Local\Temp\1\pip-install-0d33hv1w\robotframework-ioslibrary\setup.py", line 5, in execfile(join(dirname(file), 'src', 'IOSLibrary', 'version.py')) NameError: name 'execfile' is not defined ---------------------------------------- ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

jsivapatha avatar Feb 19 '20 22:02 jsivapatha