当我 运行 virtualenvwrapper mkvirtualenv 命令时,我不确定“: command not found”是什么意思

I am not sure what “: command not found” means when I run virtualenvwrapper mkvirtualenv command

我正在学习 Linux 以及如何首次设置 Django 环境。 当我 运行 virtualenvwrapper 命令时,我不确定“: command not found”是什么意思。以下是命令行序列:

    root@intranet-django:/home/lv/# workon
    root@intranet-django:/home/lv/# mkvirtualenv temp
    Using base prefix ‘/usr’
    New python executable in /root/.virtualenvs/temp/bin/python3
    Also creating executable in /root/.virtualenvs/temp/bin/python
    Installing setuptools, pip, wheel…done
    :command not found
    root@intranet-django:/home/lv/# workon
    temp
    root@intranet-django:/home/lv/#

创建您的 virtualenv 并通过 运行 执行此命令 mkvirtualenv -p /usr/local/bin python3.x <project_name>.

指定您的 python3.x 路径

如果你想检查你的 python3.x 路径,你 运行 which python3.x 在你的终端。