XX-net / XX-Net

A proxy tool to bypass GFW.
33.07k stars 7.69k forks source link

Something wrong with automatically installation for pyOpenSSL #4630

Open Dr-Incognito opened 8 years ago

Dr-Incognito commented 8 years ago

Actually, this problem have been existing for several months.

When I run start in Terminal, the pyOpenSSL library cannot be installed automatically. It seems that there're something wrong with following statements:

if [[ $- == *i* ]]; then
    # interactive shell, **actually never reaches here**
    # Install commands following ...
else
    # non-interactive shell, **actually always reaches here**
    echo 1>&2 'Please install pyOpenSSL.'
fi

Tested in Debian, ArchLinux, Ubuntu, etc.

ghost commented 8 years ago

maybe you need sudo apt-get install python-openssl by hand