sendgrid-django icon indicating copy to clipboard operation
sendgrid-django copied to clipboard

SyntaxError on pip install [Python3]

Open Vido opened this issue 9 years ago • 1 comments

Hi guys.

I just did a pip install and got this SyntaxError when building...

(env34)junkemen@junkemen-R480-R431-R481 ~/Documents/pinewoods/99contatores $ pip install sendgrid-django
Downloading/unpacking sendgrid-django
  Downloading sendgrid_django-4.0.4-py2.py3-none-any.whl
Downloading/unpacking sendgrid>=3.5,<4 (from sendgrid-django)
  Downloading sendgrid-3.6.3-py2.py3-none-any.whl
Downloading/unpacking python-http-client>=2.1.1 (from sendgrid>=3.5,<4->sendgrid-django)
  Downloading python_http_client-2.2.1-py2.py3-none-any.whl
Installing collected packages: sendgrid-django, sendgrid, python-http-client
*** Error compiling '/home/junkemen/Documents/pinewoods/99contatores/env34/build/sendgrid/sendgrid/temp.py'...
  File "/home/junkemen/Documents/pinewoods/99contatores/env34/build/sendgrid/sendgrid/temp.py", line 36
    print e.read()
          ^
SyntaxError: invalid syntax

Successfully installed sendgrid-django sendgrid python-http-client
Cleaning up...

Info about env

Python 3.4.3 (default, Oct 14 2015, 20:28:29) 
[GCC 4.8.4] on linux
Django==1.9.7
sendgrid==3.6.3
sendgrid-django==4.0.4

Vido avatar Mar 10 '17 13:03 Vido

@Vido FWIW: I couldn't reproduce this issue with Python 3.6.1 pulling in sendgrid 3.6.5.

here's what I see:

(django-sendgrid) rheflin@saffron ~$ pip3 install sendgrid-django
Collecting sendgrid-django
  Downloading sendgrid_django-4.0.4-py2.py3-none-any.whl
Collecting sendgrid<4,>=3.5 (from sendgrid-django)
  Downloading sendgrid-3.6.5-py2.py3-none-any.whl
Collecting python-http-client>=2.1.1 (from sendgrid<4,>=3.5->sendgrid-django)
  Downloading python_http_client-2.2.1-py2.py3-none-any.whl
Installing collected packages: python-http-client, sendgrid, sendgrid-django
Successfully installed python-http-client-2.2.1 sendgrid-3.6.5 sendgrid-django-4.0.4

ne0zen avatar May 31 '17 22:05 ne0zen