I'm getting this error whenever I try to install PyRO:
ERROR: Command errored out with exit status 1:
command: 'c:\users\singh\appdata\local\programs\python\python38-32\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\singh\AppData\Local\Temp\pip-install-lxpur7nd\pyro\setup.py'"'"'; file='"'"'C:\Users\singh\AppData\Local\Temp\pip-install-lxpur7nd\pyro\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\singh\AppData\Local\Temp\pip-pip-egg-info-f9isu850'
cwd: C:\Users\singh\AppData\Local\Temp\pip-install-lxpur7nd\pyro\
Complete output (6 lines):
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\singh\AppData\Local\Temp\pip-install-lxpur7nd\pyro\setup.py", line 23
exec code in constants
^ SyntaxError: Missing parentheses in call to 'exec'ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output
I'm installing it using pip install
method.
python 3.9 has a lot of bugs, i tried to install opencv for python and couldn't do so. You can do either of this: