Jan-07-2020, 06:21 PM
I need to install zip:
I'm getting an error:
pip install zip
(Python3). I tried though conda and virtualenv.I'm getting an error:
Output: Using cached https://files.pythonhosted.org/packages/41/9e/309259ce8dff8c596e8c26df86dbc4e848b9249fd36797fd60be456f03fc/wsgiref-0.1.2.zip
ERROR: Command errored out with exit status 1:
command: /home/Iam/anaconda3/envs/kivy_venv/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-aswcd5z2/wsgiref/setup.py'"'"'; __file__='"'"'/tmp/pip-install-aswcd5z2/wsgiref/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 /tmp/pip-install-aswcd5z2/wsgiref/pip-egg-info
cwd: /tmp/pip-install-aswcd5z2/wsgiref/
Complete output (8 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-aswcd5z2/wsgiref/setup.py", line 5, in <module>
import ez_setup
File "/tmp/pip-install-aswcd5z2/wsgiref/ez_setup/__init__.py", line 170
print "Setuptools version",version,"or greater has been installed."
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Setuptools version",version,"or greater has been installed.")?
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.