zoukankan      html  css  js  c++  java
  • bash: /usr/bin/python: Too many levels of symbolic links 解决办法。

    1、问题

    [root@centos7 Python-3.9.4]# ln -s python /usr/bin/python
    [root@centos7 Python-3.9.4]# python
    -bash: /usr/bin/python: Too many levels of symbolic links

    2、删除建立的软连接

    rm -f /usr/bin/python

    3、以绝对路径建立软连接

    [root@centos7 Python-3.9.4]# ln -s /home/software/python/Python-3.9.4/python /usr/bin/python
    [root@centos7 Python-3.9.4]# python
    Python 3.9.4 (default, May  1 2021, 22:41:00)
    [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] on linux
    Type "help", "copyright", "credits" or "license" for more information.
    >>> quit()
  • 相关阅读:
    图论初步
    分块和块状链表
    线段树入门
    ST表与树状数组
    [luogu P1312]Mayan游戏
    [luoguP4139]上帝与集合的正确用法


    电解质
    无机盐
  • 原文地址:https://www.cnblogs.com/liujiaxin2018/p/14724994.html
Copyright © 2011-2022 走看看