j650825 wrote:
網上查到的方法删除...(恕刪)
謝謝j650825大,幫忙查了刪除方式 :)
我執行了刪除,有些似乎找不到,然後再重做了一遍還是一樣,如下( ...苦惱)
-------------------------------------------------------------------------
rm: cannot remove ‘/usr/bin/ss-local’: No such file or directory
root@cckwee_asd:~# rm /usr/bin/ss-redir
rm: cannot remove ‘/usr/bin/ss-redir’: No such file or directory
root@cckwee_asd:~# rm /usr/bin/ss-tunnel
rm: cannot remove ‘/usr/bin/ss-tunnel’: No such file or directory
root@cckwee_asd:~# wget https://bootstrap.pypa.io/get-pip.py
--2019-01-29 11:54:36-- https://bootstrap.pypa.io/get-pip.py
Resolving bootstrap.pypa.io... 151.101.0.175, 151.101.64.175, 151.101.128.175, ...
Connecting to bootstrap.pypa.io|151.101.0.175|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1700321 (1.6M) [text/x-python]
Saving to: 'get-pip.py.6'
get-pip.py.6 100%[===================>] 1.62M 2.72MB/s in 0.6s
2019-01-29 11:54:37 (2.72 MB/s) - 'get-pip.py.6' saved [1700321/1700321]
root@cckwee_asd:~# python get-pip.py
/usr/local/lib/python2.7/site-packages/cffi/model.py:526: UserWarning: 'point_conversion_form_t' has no values explicitly defined; next version will refuse to guess which integer type it is meant to be (unsigned/signed, int/long)
% self._get_c_name())
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Pyth on as Python 2.7 won't be maintained after that date. A future version of pip will drop support for P ython 2.7.
Collecting pip
Using cached https://files.pythonhosted.org/packages/46/dc/7fd5df840efb3e56c8b4f768793a237ec4ee59891959d6a215d63f727023/pip-19.0.1-py2.py3-none-any.whl
Installing collected packages: pip
Found existing installation: pip 19.0.1
Uninstalling pip-19.0.1:
Successfully uninstalled pip-19.0.1
Successfully installed pip-19.0.1
root@cckwee_asd:~# pip install shadowsocks
/usr/local/lib/python2.7/site-packages/cffi/model.py:526: UserWarning: 'point_conversion_form_t' has no values explicitly defined; next version will refuse to guess which integer type it is meant to be (unsigned/signed, int/long)
% self._get_c_name())
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Requirement already satisfied: shadowsocks in /usr/lib/python2.7/site-packages (2.8.2)
root@cckwee_asd:~# vi /etc/shadowsocks.json
root@cckwee_asd:~# vi /usr/lib/python2.7/site-packages/shadowsocks/crypto/util.py
root@cckwee_asd:~# ssserver -c /etc/shadowsocks.json -d start
Traceback (most recent call last):
File "/bin/ssserver", line 6, in <module>
from shadowsocks.server import main
File "/usr/lib/python2.7/site-packages/shadowsocks/server.py", line 27, in <module>
from shadowsocks import shell, daemon, eventloop, tcprelay, udprelay, \
File "/usr/lib/python2.7/site-packages/shadowsocks/shell.py", line 27, in <module>
from shadowsocks import encrypt
File "/usr/lib/python2.7/site-packages/shadowsocks/encrypt.py", line 26, in <module>
from shadowsocks.crypto import rc4_md5, openssl, sodium, table
File "/usr/lib/python2.7/site-packages/shadowsocks/crypto/rc4_md5.py", line 22, in <module>
from shadowsocks.crypto import openssl
File "/usr/lib/python2.7/site-packages/shadowsocks/crypto/openssl.py", line 24, in <module>
from shadowsocks.crypto import util
File "/usr/lib/python2.7/site-packages/shadowsocks/crypto/util.py", line 71
patterns = [
^
IndentationError: unindent does not match any outer indentation level
-------------------------------------------------------------------------
各位大大,可以的話再麻煩給我些建議 謝謝。 : (