I can't install Gevent

Installing this worked for me,

sudo apt-get install libevent-dev
sudo apt-get install python-all-dev

and then,

pip install greenlet
pip install gevent

There is solution for my problem enter link description here

Probably this is most important (in place of python2.X type your python ver. eg. python2.7) export PYTHONPATH=$HOME/.local/lib/python/site-packages:$PYTHONPATH
export PYTHONPATH=$HOME/.local/lib/python2.X/site-packages:$PYTHONPATH
export PATH=$HOME/.local/bin:$PATH


It worked for me. First remove gevent from Pipfile.lock

"gevent": {
        "hashes": [
            "sha256:004cdbc6c18b4076acfa256c1794abf87bf9b97e0cfd4136f5098535c4b4132e",
            "sha256:3ae1ca0f533ddcb17aab16ce66b424b3f3b855ff3b9508526915d3c6b73fba31",
            "sha256:704a048005e6389fcb8276113bb9e7d0a3160bc382b9bcc629e398a43645de5c",
            "sha256:80ee22c28dae6dc70c7e4385f0d0292da9eebccf14b90620a32f10d71797838e",
            "sha256:aa224957cbbc028bbdfbec89625c7efa66bb8ddb845ed2fe323bd6b24e919dcf",
            "sha256:f3e8656f0b7bce355f14896d0b644c0a91e01fa12d9d65e6b09faad1d2c06e65"
        ],
        "index": "pypi",
        "version": "==1.0.2"
}

Then install gevent manually pipenv install gevent

Hope it will work for you.