angular-flask
angular-flask copied to clipboard
dependency issue with package 'wsgiref' on python3
if trying to run the project on python3 there's a dependency issue with package 'wsgiref' when trying to install packages via requirements.txt
error:
Collecting wsgiref==0.1.2 (from -r requirements.txt (line 16))
Using cached wsgiref-0.1.2.zip
Traceback (most recent call last):
File "
File "<string>", line 20, in <module>
File "/tmp/pip-build-7cwefmyb/wsgiref/setup.py", line 5, in <module>
import ez_setup
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-7cwefmyb/wsgiref
I get the same error, any updates?
same error :/
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 20, in <module>
File "/tmp/pip-build-9bksd6f6/wsgiref/setup.py", line 5, in <module>
import ez_setup
File "/tmp/pip-build-9bksd6f6/wsgiref/ez_setup/__init__.py", line 170
print "Setuptools version",version,"or greater has been installed."
^
SyntaxError: invalid syntax
Collecting requests==1.2.3 (from -r requirements.txt (line 13))
Using cached requests-1.2.3.tar.gz
Collecting six==1.3.0 (from -r requirements.txt (line 14))
Using cached six-1.3.0.tar.gz
Collecting wsgiref==0.1.2 (from -r requirements.txt (line 15))
Using cached wsgiref-0.1.2.zip
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/0f/c415tlls4ns154q2kklt058r0000gp/T/pip-build-e6mge1wm/wsgiref/
I found the solution, that you need create the virtual env at first, and then the problem will be resolved.
the command for your reference virtualenv env source env/bin/activate now , you are in virtualenv, and your can execute the following scripts as mentioned by author