gear(python-api) can not be used in mac(python3)

39 views
Skip to first unread message

Yue Biek

unread,
Jun 2, 2018, 3:26:50 AM6/2/18
to Gearman

hello, 


        gear run failed. my machine is mac python3.6after installed pear, I found __init__.py still use  edge_bitmask = select.EPOLLET.


but this constant is not available in mac.  code is as follows:



class Server(BaseClientServer):
    edge_bitmask
= select.EPOLLET
    error_bitmask
= (select.EPOLLERR | select.EPOLLHUP | edge_bitmask)
    ......


Yue Biek

unread,
Jun 2, 2018, 7:21:46 AM6/2/18
to gea...@googlegroups.com
Update,
          When I install gear using the way github page used,I run success in mac. ("pip install git+https://github.com/bbrodriges/gear.git#egg=gear")

          I used to install using "pip isntall gear", so please update the resources in pip source.

Thank you 
          

                

--
You received this message because you are subscribed to the Google Groups "Gearman" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gearman+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Алексей Пастухов

unread,
Jun 4, 2018, 1:57:15 AM6/4/18
to gea...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages