Skip to content
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

dependency issue with package 'wsgiref' on python3 #10

Open
danfromisrael opened this issue Apr 6, 2015 · 4 comments
Open

dependency issue with package 'wsgiref' on python3 #10

danfromisrael opened this issue Apr 6, 2015 · 4 comments

Comments

@danfromisrael
Copy link

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 "", line 20, in
File "/tmp/pip-build-7cwefmyb/wsgiref/setup.py", line 5, in
import ez_setup
Complete output from command python setup.py egg_info:
Traceback (most recent call last):

  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
@LeoJavaAI
Copy link

I get the same error, any updates?

@LukasSliacky
Copy link

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

@FrancisJen
Copy link

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 "", line 1, in
File "/private/var/folders/0f/c415tlls4ns154q2kklt058r0000gp/T/pip-build-e6mge1wm/wsgiref/setup.py", line 5, in
import ez_setup
File "/private/var/folders/0f/c415tlls4ns154q2kklt058r0000gp/T/pip-build-e6mge1wm/wsgiref/ez_setup/init.py", line 170
print "Setuptools version",version,"or greater has been installed."
^
SyntaxError: Missing parentheses in call to 'print'

----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/0f/c415tlls4ns154q2kklt058r0000gp/T/pip-build-e6mge1wm/wsgiref/

@FrancisJen
Copy link

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

Repository owner deleted a comment from tarunjainsagar Feb 26, 2024
Repository owner deleted a comment from renato71amorim Mar 4, 2024
Repository owner deleted a comment from renato71amorim Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants
@danfromisrael @LeoJavaAI @LukasSliacky @FrancisJen and others