eloipool fails with module 'select' has no attribute 'EPOLLIN'

0

attempting to run eloipool by following the tutorial in the issues section. When running eloipool.py, I am greeted with this error:

Traceback (most recent call last):
  File "eloipool.py", line 84, in <module>
    from bitcoin.node import BitcoinLink, BitcoinNode
  File "/Users/harshagoli/Projects/eloipool/bitcoin/node.py", line 22, in <module>
    import networkserver
  File "/Users/harshagoli/Projects/eloipool/networkserver.py", line 28, in <module>
    EPOLL_READ = select.EPOLLIN | select.EPOLLPRI | select.EPOLLERR | select.EPOLLHUP
AttributeError: module 'select' has no attribute 'EPOLLIN'

Running with python3, and in the python3 repl select does have the correct attributes, but in the script itself it doesn't seem to load.

arshbot

Posted 2017-06-28T18:04:21.077

Reputation: 753

Are you certain the python interpreter you're actually running is version 3? The tutorial talks about just using the python command, but on many systems that will give you version 2, even if version 3 is also installed. What is the full command line you are using, and what do you see if you run the same command with --version?Nate Eldredge 2017-06-28T19:21:19.970

I am sure I'm using python3. I use python3 eloipool.py and get the error I posted abovearshbot 2017-06-29T21:40:46.660

No answers