启动会话时出错(配置文件错误?)

启动会话时出错(配置文件错误?)

我对 Ubuntu 还比较陌生,我最近才安装了它,但每次我打开会话时都会出现这个奇怪的信息弹出。

虽然它是法语的,但是它说:

error found while charging /home/zagdoun[=user]/.profile 
/home/zagdoun/.profile : line 21: -e: command not found

Hence your session will not be configured properly.You should resolve this matter asap.

顺便说一下,我通过 USB 密钥安装了 ubuntu,它不是一个分区。

此外,当我使用 Python 或 TensorFlow 时,我在终端上收到此警告:

GLib-GIO-Message: Using the 'memory' GSettings backend.  Your settings will not be saved or shared with other applications.

当我输入cat ~/.profile这是输出

    # ~/.profile: executed by the command interpreter for login shells.
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
# exists.
# see /usr/share/doc/bash/examples/startup-files for examples.
# the files are located in the bash-doc package.

# the default umask is set in /etc/profile; for setting the umask
# for ssh logins, install and configure the libpam-umask package.
#umask 022

# if running bash
if [ -n "$BASH_VERSION" ]; then
    # include .bashrc if it exists
    if [ -f "$HOME/.bashrc" ]; then
    . "$HOME/.bashrc"
    fi
fi

# set PATH so it includes user's private bin directories
PATH="$HOME/bin:$HOME/.local/bin:$PATH"
-e 
#ADDED BY SYNCPY2
PATH=/home/zagdoun/anaconda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin

相关内容