shell-scripts icon indicating copy to clipboard operation
shell-scripts copied to clipboard

kcptun脚本安装失败

Open keeno1982 opened this issue 2 years ago • 1 comments

系统:centos7

2022-03-21 01:17:45 (133 MB/s) - 'kcptun-v20210922.tar.gz' saved [5977233/5977233]

  • sha1sum -c

  • echo '2b39996bb12942f1a407723f1811b834ad9e625b kcptun-v20210922.tar.gz' kcptun-v20210922.tar.gz: OK

  • tar -zxf kcptun-v20210922.tar.gz -C /usr/local/kcptun

  • sleep 3

  • pip install --upgrade pip Collecting pip Using cached https://files.pythonhosted.org/packages/33/c9/e2164122d365d8f823213a53970fa3005eb16218edcfc56ca24cb6deba2b/pip-22.0.4.tar.gz Complete output from command python setup.py egg_info: Traceback (most recent call last): File "", line 1, in File "/tmp/pip-build-Bi4qeg/pip/setup.py", line 7 def read(rel_path: str) -> str: ^ SyntaxError: invalid syntax


Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-Bi4qeg/pip/ You are using pip version 8.1.2, however version 22.0.4 is available. You should consider upgrading via the 'pip install --upgrade pip' command.

  • true

  • pip install --upgrade supervisor Collecting supervisor Using cached https://files.pythonhosted.org/packages/3d/47/b4030b2b01f6c559bd528974cee72bee7fe75594b31cc3e064678a454548/supervisor-4.2.4-py2.py3-none-any.whl Collecting setuptools (from supervisor) Using cached https://files.pythonhosted.org/packages/af/e8/894c71e914dfbe01276a42dfad40025cd96119f2eefc39c554b6e8b9df86/setuptools-60.10.0.tar.gz Complete output from command python setup.py egg_info: Traceback (most recent call last): File "", line 1, in File "setuptools/init.py", line 8, in import _distutils_hack.override # noqa: F401 File "_distutils_hack/override.py", line 1, in import('_distutils_hack').do_override() File "_distutils_hack/init.py", line 72, in do_override ensure_local_distutils() File "_distutils_hack/init.py", line 55, in ensure_local_distutils importlib.import_module('distutils') File "/usr/lib64/python2.7/importlib/init.py", line 37, in import_module import(name) AttributeError: find_module


Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-lGnSTj/setuptools/ You are using pip version 8.1.2, however version 22.0.4 is available. You should consider upgrading via the 'pip install --upgrade pip' command. 错误: 安装 Supervisor 失败, 请尝试使用 pip install supervisor 来手动安装。 Supervisor 从 4.0 开始已不支持 python 2.6 及以下版本 python 2.6 的用户请使用: pip install 'supervisor>=3.0.0,<4.0.0'

keeno1982 avatar Mar 20 '22 17:03 keeno1982

搞了半天才算搞定,要先装一个中间版本的pip,然后pip install --upgrade pip才能成功。不然就是死循环在那了。

keeno1982 avatar Mar 21 '22 09:03 keeno1982